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.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.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.001296/0.001301, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.00137/0.00137, allocations: 191.5 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.501/1.501, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.478/2.478, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002274, allocations: 62.97 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3676, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9581/1.326, allocations: 201.6 MB / 1.147 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.338, allocations: 6.345 MB / 1.153 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/1.34, allocations: 32.75 kB / 1.153 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/1.342, allocations: 0.6554 MB / 1.153 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008/1.35, allocations: 2.522 MB / 1.156 GB, free: 3.637 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.002034/1.352, allocations: 0.6494 MB / 1.157 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005145/1.358, allocations: 3.267 MB / 1.16 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/1.359, allocations: 1.109 MB / 1.161 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/1.362, allocations: 1.262 MB / 1.162 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/1.365, allocations: 1.169 MB / 1.163 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/1.365, allocations: 131.8 kB / 1.163 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005956/1.371, allocations: 2.464 MB / 1.166 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006843/1.372, allocations: 0.5132 MB / 1.166 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.373, allocations: 0.744 MB / 1.167 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/1.376, allocations: 2.09 MB / 1.169 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.376, allocations: 0 / 1.169 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.053e-06/1.376, allocations: 0 / 1.169 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.947e-05/1.376, allocations: 1.375 kB / 1.169 GB, free: 14.88 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.004293/1.381, allocations: 1.765 MB / 1.171 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.381, allocations: 8.469 kB / 1.171 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/1.383, allocations: 352.2 kB / 1.171 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.384, allocations: 0.8383 MB / 1.172 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/1.384, allocations: 81.16 kB / 1.172 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.385, allocations: 104.1 kB / 1.172 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.387, allocations: 1.188 MB / 1.173 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/1.387, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.387, allocations: 44.73 kB / 1.173 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.669e-05/1.387, allocations: 60.22 kB / 1.173 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.389, allocations: 1.245 MB / 1.175 GB, free: 12.25 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.0066/1.396, allocations: 5.07 MB / 1.18 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.397, allocations: 1.16 MB / 1.181 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/1.398, allocations: 0.5027 MB / 1.181 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/1.398, allocations: 21.45 kB / 1.181 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007698/1.399, allocations: 487 kB / 1.182 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/1.399, allocations: 3.938 kB / 1.182 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76): time 0.001978/1.401, allocations: 1.152 MB / 1.183 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.401, allocations: 64.69 kB / 1.183 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/1.401, allocations: 0.5732 MB / 1.183 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/1.402, allocations: 46.39 kB / 1.183 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/1.402, allocations: 464.2 kB / 1.184 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.402, allocations: 272 kB / 1.184 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/1.402, allocations: 129.5 kB / 1.184 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.403, allocations: 386.2 kB / 1.185 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/1.403, allocations: 329.5 kB / 1.185 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/1.404, allocations: 450.3 kB / 1.185 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.405, allocations: 0.8204 MB / 1.186 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.405, allocations: 0 / 1.186 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001339/1.406, allocations: 0.9359 MB / 1.187 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.406, allocations: 5.5 kB / 1.187 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.406, allocations: 3.484 kB / 1.187 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.406, allocations: 5.156 kB / 1.187 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/1.407, allocations: 161.1 kB / 1.187 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/1.407, allocations: 13.28 kB / 1.187 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.408, allocations: 161.8 kB / 1.187 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.408, allocations: 22.59 kB / 1.187 GB, free: 4.141 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.0004909/1.409, allocations: 334.4 kB / 1.188 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/1.409, allocations: 82.16 kB / 1.188 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/1.409, allocations: 108.1 kB / 1.188 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.409, allocations: 10.16 kB / 1.188 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/1.409, allocations: 2.219 kB / 1.188 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/1.41, allocations: 1.09 MB / 1.189 GB, free: 2.953 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 postOpt removeSimpleEquations (simulation): time 0.00324/1.413, allocations: 2.314 MB / 1.191 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.413, allocations: 3.406 kB / 1.191 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/1.414, allocations: 171.6 kB / 1.191 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.414, allocations: 2.375 kB / 1.191 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/1.414, allocations: 16.81 kB / 1.191 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.414, allocations: 9.234 kB / 1.191 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.414, allocations: 6.594 kB / 1.191 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.416, allocations: 1.347 MB / 1.193 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/1.417, allocations: 252.1 kB / 1.193 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.417, allocations: 16.78 kB / 1.193 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/1.417, allocations: 104.8 kB / 1.193 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/1.418, allocations: 41.66 kB / 1.193 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/1.418, allocations: 24.23 kB / 1.193 GB, free: 264 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004821/1.418, allocations: 417.8 kB / 1.194 GB, free: 16 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.418, allocations: 0 / 1.194 GB, free: 16 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001085/1.419, allocations: 369.7 kB / 1.194 GB, free: 15.95 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.0003203/1.42, allocations: 186.1 kB / 1.194 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.421, allocations: 1.032 MB / 1.195 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.421, allocations: 2.781 kB / 1.195 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005482/1.422, allocations: 428.4 kB / 1.196 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.424, allocations: 0.6001 MB / 1.196 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/1.428, allocations: 2.694 MB / 1.199 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/1.429, allocations: 1.14 MB / 1.2 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/1.429, allocations: 81.61 kB / 1.2 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/1.429, allocations: 0 / 1.2 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of Templates: time 0.02424/1.453, allocations: 15.75 MB / 1.215 GB, free: 2.707 MB / 0.8887 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 -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