Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.06 kB / 0.814 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2333, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6454/0.8787, allocations: 204.2 MB / 1.151 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009295/0.8881, allocations: 6.363 MB / 1.157 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.8895, allocations: 41.84 kB / 1.157 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.8913, allocations: 0.7308 MB / 1.157 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.8974, allocations: 2.672 MB / 1.16 GB, free: 2.234 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.8991, allocations: 0.7108 MB / 1.161 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003604/0.9027, allocations: 3.273 MB / 1.164 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.9041, allocations: 1.141 MB / 1.165 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.9066, allocations: 1.24 MB / 1.166 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.9089, allocations: 1.099 MB / 1.167 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.9091, allocations: 127.4 kB / 1.167 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/0.9138, allocations: 2.361 MB / 1.17 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.9144, allocations: 0.5137 MB / 1.17 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009926/0.9154, allocations: 0.744 MB / 1.171 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.9203, allocations: 2.785 MB / 1.174 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.9204, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9204, allocations: 5.188 kB / 1.174 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.017e-05/0.9204, allocations: 4 kB / 1.174 GB, free: 13.19 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004115/0.9245, allocations: 1.771 MB / 1.175 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9246, allocations: 8.594 kB / 1.175 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.9268, allocations: 345.2 kB / 1.176 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.9285, allocations: 0.8738 MB / 1.177 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.9286, allocations: 75.39 kB / 1.177 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9288, allocations: 104.3 kB / 1.177 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.9308, allocations: 1.191 MB / 1.178 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.9308, allocations: 0 / 1.178 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9309, allocations: 43.73 kB / 1.178 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.875e-05/0.931, allocations: 68.95 kB / 1.178 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.9328, allocations: 1.243 MB / 1.179 GB, free: 10.55 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.006273/0.939, allocations: 5.1 MB / 1.184 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.9406, allocations: 1.163 MB / 1.185 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.9413, allocations: 0.497 MB / 1.186 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-05/0.9413, allocations: 14.12 kB / 1.186 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006833/0.942, allocations: 498.8 kB / 1.186 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=76): time 3.005e-06/0.942, allocations: 0 / 1.186 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76): time 0.001939/0.944, allocations: 1.151 MB / 1.188 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.944, allocations: 64.09 kB / 1.188 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006153/0.9447, allocations: 0.574 MB / 1.188 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.9447, allocations: 39.89 kB / 1.188 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.945, allocations: 466.9 kB / 1.189 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.9453, allocations: 269.6 kB / 1.189 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.9455, allocations: 127.6 kB / 1.189 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9456, allocations: 387.7 kB / 1.189 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.9461, allocations: 334.8 kB / 1.19 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.9466, allocations: 448.2 kB / 1.19 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.9477, allocations: 0.827 MB / 1.191 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.9477, allocations: 0 / 1.191 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001299/0.949, allocations: 0.9298 MB / 1.192 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.949, allocations: 6.281 kB / 1.192 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.9491, allocations: 7.656 kB / 1.192 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9491, allocations: 5.281 kB / 1.192 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.9497, allocations: 157.6 kB / 1.192 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.9497, allocations: 6.375 kB / 1.192 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.9504, allocations: 67.44 kB / 1.192 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.9505, allocations: 22.75 kB / 1.192 GB, free: 1.312 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0004222/0.9509, allocations: 339.8 kB / 1.192 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.951, allocations: 82.94 kB / 1.193 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.9513, allocations: 105.2 kB / 1.193 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.9513, allocations: 13.22 kB / 1.193 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.9513, allocations: 0 / 1.193 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.9525, allocations: 1.092 MB / 1.194 GB, free: 124 kB / 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 postOpt removeSimpleEquations (simulation): time 0.003108/0.9556, allocations: 2.312 MB / 1.196 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9556, allocations: 0 / 1.196 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.9565, allocations: 171.7 kB / 1.196 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.9565, allocations: 4.844 kB / 1.196 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.9566, allocations: 17.28 kB / 1.196 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.9566, allocations: 2.719 kB / 1.196 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9566, allocations: 4.031 kB / 1.196 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.9583, allocations: 1.353 MB / 1.197 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.9588, allocations: 261.6 kB / 1.198 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.9589, allocations: 18.56 kB / 1.198 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.9595, allocations: 19.73 kB / 1.198 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.9596, allocations: 44.03 kB / 1.198 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.9597, allocations: 27.12 kB / 1.198 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000447/0.9601, allocations: 414.4 kB / 1.198 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.406e-06/0.9601, allocations: 0 / 1.198 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008265/0.961, allocations: 375.5 kB / 1.199 GB, free: 13.13 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002606/0.9612, allocations: 170.7 kB / 1.199 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.9623, allocations: 0.8109 MB / 1.2 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9623, allocations: 0 / 1.2 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.9629, allocations: 425.4 kB / 1.2 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.9652, allocations: 0.5969 MB / 1.201 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.9683, allocations: 2.163 MB / 1.203 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.969, allocations: 1.138 MB / 1.204 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.9698, allocations: 275.2 kB / 1.204 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.9701, allocations: 81.64 kB / 1.204 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/0.9701, allocations: 0 / 1.204 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.02963/0.9997, allocations: 19.05 MB / 1.223 GB, free: 12.76 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches