Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 109.1 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 190.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 68.05 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3664, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.033/1.4, allocations: 199.4 MB / 1.144 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01555/1.415, allocations: 7.358 MB / 1.152 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/1.42, allocations: 32.44 kB / 1.152 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003217/1.423, allocations: 0.6202 MB / 1.152 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009248/1.432, allocations: 2.258 MB / 1.155 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/1.436, allocations: 1.128 MB / 1.156 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005421/1.442, allocations: 2.912 MB / 1.158 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/1.444, allocations: 0.9319 MB / 1.159 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/1.447, allocations: 1.032 MB / 1.16 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/1.45, allocations: 1.033 MB / 1.161 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005568/1.45, allocations: 109.8 kB / 1.161 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/1.456, allocations: 2.229 MB / 1.164 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000962/1.457, allocations: 450.8 kB / 1.164 GB, free: 316 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/1.46, allocations: 0.6677 MB / 1.165 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004362/1.464, allocations: 1.799 MB / 1.167 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.464, allocations: 0 / 1.167 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.094e-06/1.464, allocations: 0 / 1.167 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.551e-05/1.464, allocations: 1.062 kB / 1.167 GB, free: 15.51 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005739/1.47, allocations: 1.624 MB / 1.168 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.47, allocations: 8.969 kB / 1.168 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/1.473, allocations: 368.4 kB / 1.168 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/1.474, allocations: 0.8181 MB / 1.169 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/1.474, allocations: 71.78 kB / 1.169 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.475, allocations: 83.78 kB / 1.169 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.476, allocations: 1.044 MB / 1.17 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.477, allocations: 4 kB / 1.17 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/1.477, allocations: 39.25 kB / 1.17 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/1.477, allocations: 38.2 kB / 1.17 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.478, allocations: 0.8835 MB / 1.171 GB, free: 13.03 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/1.483, allocations: 4.287 MB / 1.176 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/1.485, allocations: 0.6994 MB / 1.176 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/1.485, allocations: 449.2 kB / 1.177 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006893/1.486, allocations: 0.6725 MB / 1.177 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.486, allocations: 48.75 kB / 1.177 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/1.486, allocations: 0 / 1.177 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001998/1.488, allocations: 0.9886 MB / 1.178 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.488, allocations: 60.06 kB / 1.178 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/1.489, allocations: 0.6431 MB / 1.179 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/1.489, allocations: 39.48 kB / 1.179 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/1.49, allocations: 437.1 kB / 1.179 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.49, allocations: 248.4 kB / 1.18 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.49, allocations: 114.5 kB / 1.18 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.49, allocations: 390.6 kB / 1.18 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/1.491, allocations: 272 kB / 1.18 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/1.491, allocations: 363.2 kB / 1.181 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.492, allocations: 0.6608 MB / 1.181 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.492, allocations: 4 kB / 1.181 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001377/1.494, allocations: 0.7913 MB / 1.182 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.494, allocations: 7.094 kB / 1.182 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.494, allocations: 2.25 kB / 1.182 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.494, allocations: 6.344 kB / 1.182 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/1.494, allocations: 141 kB / 1.182 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/1.494, allocations: 17.75 kB / 1.182 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.496, allocations: 111 kB / 1.182 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/1.496, allocations: 23.12 kB / 1.183 GB, free: 5.793 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004878/1.496, allocations: 296.2 kB / 1.183 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.496, allocations: 82.91 kB / 1.183 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/1.498, allocations: 0.7994 MB / 1.184 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.498, allocations: 7.375 kB / 1.184 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.498, allocations: 0 / 1.184 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/1.499, allocations: 0.8194 MB / 1.184 GB, free: 4.703 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/1.502, allocations: 1.851 MB / 1.186 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.502, allocations: 0 / 1.186 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/1.503, allocations: 174.8 kB / 1.186 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.503, allocations: 6.375 kB / 1.186 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/1.503, allocations: 12.41 kB / 1.186 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.503, allocations: 3.594 kB / 1.186 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.503, allocations: 0 / 1.186 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.504, allocations: 1.195 MB / 1.188 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/1.505, allocations: 250.3 kB / 1.188 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.505, allocations: 20.75 kB / 1.188 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/1.506, allocations: 75.03 kB / 1.188 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.506, allocations: 41.47 kB / 1.188 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/1.506, allocations: 32.31 kB / 1.188 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005334/1.507, allocations: 450.8 kB / 1.188 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.507, allocations: 0 / 1.188 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009495/1.508, allocations: 342.6 kB / 1.189 GB, free: 2.418 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003565/1.508, allocations: 202.6 kB / 1.189 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.509, allocations: 0.8131 MB / 1.19 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.509, allocations: 4.062 kB / 1.19 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000515/1.51, allocations: 370.7 kB / 1.19 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.512, allocations: 0.547 MB / 1.191 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/1.516, allocations: 2.627 MB / 1.193 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/1.517, allocations: 1.089 MB / 1.194 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.517, allocations: 78.58 kB / 1.194 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/1.517, allocations: 3.062 kB / 1.194 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.02388/1.541, allocations: 15.21 MB / 1.209 GB, free: 6.879 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:oriOutBot.v,oriOutTop.v,time,volA.T,volOut.T