Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.248/2.248, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.755e-05, allocations: 9.484 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.1272/0.1272, allocations: 148.6 MB / 1.035 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.1332, allocations: 4.316 MB / 1.039 GB, free: 244 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.1339, allocations: 51.62 kB / 1.039 GB, free: 192 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.1345, allocations: 301.8 kB / 1.039 GB, free: 15.89 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.1366, allocations: 1.441 MB / 1.041 GB, free: 14.44 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1377, allocations: 0.7326 MB / 1.042 GB, free: 13.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.1401, allocations: 2.972 MB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/0.1408, allocations: 0.737 MB / 1.045 GB, free: 9.969 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.1427, allocations: 1.597 MB / 1.047 GB, free: 8.406 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.1437, allocations: 0.888 MB / 1.048 GB, free: 7.516 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.1439, allocations: 108 kB / 1.048 GB, free: 7.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.1447, allocations: 459 kB / 1.048 GB, free: 6.961 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.145, allocations: 0.4908 MB / 1.049 GB, free: 6.469 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.1453, allocations: 491 kB / 1.049 GB, free: 5.988 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.1464, allocations: 1.227 MB / 1.05 GB, free: 4.758 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1464, allocations: 0 / 1.05 GB, free: 4.758 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1464, allocations: 0 / 1.05 GB, free: 4.758 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1464, allocations: 3.938 kB / 1.05 GB, free: 4.754 MB / 1.01 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.001931/0.1483, allocations: 1.557 MB / 1.052 GB, free: 3.152 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1484, allocations: 12.03 kB / 1.052 GB, free: 3.141 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.1499, allocations: 0.5886 MB / 1.052 GB, free: 2.551 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.1506, allocations: 0.7572 MB / 1.053 GB, free: 1.762 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1507, allocations: 62 kB / 1.053 GB, free: 1.699 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.1508, allocations: 84 kB / 1.053 GB, free: 1.617 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.1516, allocations: 0.9241 MB / 1.054 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1516, allocations: 7.953 kB / 1.054 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.1516, allocations: 32 kB / 1.054 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.1517, allocations: 42 kB / 1.054 GB, free: 0.5156 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.1521, allocations: 361.5 kB / 1.055 GB, free: 168 kB / 1.01 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.4036/0.5557, allocations: 3.052 MB / 1.058 GB, free: 69.01 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.5563, allocations: 443.4 kB / 1.058 GB, free: 68.97 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.5566, allocations: 259.1 kB / 1.058 GB, free: 68.95 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.5567, allocations: 30.06 kB / 1.058 GB, free: 68.95 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5567, allocations: 44.23 kB / 1.058 GB, free: 68.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.5567, allocations: 0 / 1.058 GB, free: 68.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=70): time 0.0008241/0.5575, allocations: 0.561 MB / 1.059 GB, free: 68.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.5576, allocations: 57.75 kB / 1.059 GB, free: 68.76 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.5579, allocations: 0.6303 MB / 1.06 GB, free: 68.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.558, allocations: 40.39 kB / 1.06 GB, free: 68.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.5582, allocations: 0.5081 MB / 1.06 GB, free: 68.31 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.5583, allocations: 271.5 kB / 1.06 GB, free: 68.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5585, allocations: 142.2 kB / 1.06 GB, free: 68.15 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5586, allocations: 0.5844 MB / 1.061 GB, free: 67.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.5587, allocations: 100.8 kB / 1.061 GB, free: 67.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.5589, allocations: 323.8 kB / 1.061 GB, free: 67.43 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.5593, allocations: 482.2 kB / 1.062 GB, free: 67.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5593, allocations: 0 / 1.062 GB, free: 67.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006114/0.5599, allocations: 0.5617 MB / 1.062 GB, free: 67.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.56, allocations: 5.781 kB / 1.062 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.56, allocations: 8.453 kB / 1.062 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.56, allocations: 11.97 kB / 1.062 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.5604, allocations: 177.9 kB / 1.063 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.5604, allocations: 9.312 kB / 1.063 GB, free: 67.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.5609, allocations: 77 kB / 1.063 GB, free: 67.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.5609, allocations: 27.7 kB / 1.063 GB, free: 67.08 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (94): * Single equations (assignments): 94 * 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.0001583/0.561, allocations: 198 kB / 1.063 GB, free: 66.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5612, allocations: 115.3 kB / 1.063 GB, free: 66.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5613, allocations: 105.8 kB / 1.063 GB, free: 66.85 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5613, allocations: 8.406 kB / 1.063 GB, free: 66.85 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5613, allocations: 0 / 1.063 GB, free: 66.85 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003822/0.5617, allocations: 0.5158 MB / 1.064 GB, free: 66.58 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5627, allocations: 1.14 MB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5627, allocations: 0 / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.5631, allocations: 186.5 kB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5631, allocations: 2.281 kB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.5632, allocations: 21.2 kB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5632, allocations: 2.625 kB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5632, allocations: 1.031 kB / 1.065 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.5638, allocations: 0.7637 MB / 1.066 GB, free: 66.03 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.564, allocations: 171.2 kB / 1.066 GB, free: 65.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.5641, allocations: 14.05 kB / 1.066 GB, free: 65.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.5644, allocations: 35.69 kB / 1.066 GB, free: 65.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.5644, allocations: 48.61 kB / 1.066 GB, free: 65.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.5645, allocations: 22.38 kB / 1.066 GB, free: 65.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001673/0.5646, allocations: 389.6 kB / 1.066 GB, free: 65.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5646, allocations: 3.797 kB / 1.066 GB, free: 65.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004677/0.5651, allocations: 338.8 kB / 1.067 GB, free: 65.82 MB / 1.01 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.0001445/0.5653, allocations: 120.7 kB / 1.067 GB, free: 65.74 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.5657, allocations: 403.2 kB / 1.067 GB, free: 65.71 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5657, allocations: 3.469 kB / 1.067 GB, free: 65.71 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.5659, allocations: 222.7 kB / 1.067 GB, free: 65.69 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5669, allocations: 0.5281 MB / 1.068 GB, free: 65.67 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.569, allocations: 1.864 MB / 1.07 GB, free: 64.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.5692, allocations: 234 kB / 1.07 GB, free: 64.86 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004314/0.5696, allocations: 157.2 kB / 1.07 GB, free: 64.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.5702, allocations: 448.8 kB / 1.071 GB, free: 64.77 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/0.5702, allocations: 0 / 1.071 GB, free: 64.77 MB / 1.01 GB Notification: Performance of Templates: time 0.02145/0.5917, allocations: 20.66 MB / 1.091 GB, free: 62.78 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.031669856980443]