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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.49/2.49, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.03 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8056, allocations: 140.3 MB / 0.9496 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.242/1.048, allocations: 204.2 MB / 1.149 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0113/1.059, allocations: 6.366 MB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/1.061, allocations: 35.81 kB / 1.155 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/1.063, allocations: 0.7265 MB / 1.156 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0081/1.072, allocations: 2.676 MB / 1.159 GB, free: 11.23 MB / 0.92 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.002437/1.074, allocations: 0.7029 MB / 1.159 GB, free: 10.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004861/1.079, allocations: 3.27 MB / 1.162 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/1.081, allocations: 1.144 MB / 1.164 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/1.084, allocations: 1.238 MB / 1.165 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/1.087, allocations: 1.111 MB / 1.166 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/1.087, allocations: 128 kB / 1.166 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005842/1.093, allocations: 2.354 MB / 1.168 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007787/1.094, allocations: 0.5143 MB / 1.169 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/1.095, allocations: 0.7431 MB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005733/1.101, allocations: 2.774 MB / 1.172 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.101, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/1.101, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.333e-05/1.101, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9356 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.004636/1.105, allocations: 1.765 MB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.105, allocations: 11.97 kB / 1.174 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/1.108, allocations: 358.1 kB / 1.174 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/1.109, allocations: 0.8389 MB / 1.175 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/1.109, allocations: 70.02 kB / 1.175 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/1.109, allocations: 107.9 kB / 1.175 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.111, allocations: 1.187 MB / 1.176 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.111, allocations: 0 / 1.176 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.111, allocations: 43.98 kB / 1.176 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.828e-05/1.112, allocations: 66.06 kB / 1.177 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/1.113, allocations: 1.253 MB / 1.178 GB, free: 7.371 MB / 0.9356 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.006739/1.12, allocations: 5.132 MB / 1.183 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.122, allocations: 1.16 MB / 1.184 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/1.122, allocations: 0.4934 MB / 1.184 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/1.122, allocations: 28.78 kB / 1.184 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/1.123, allocations: 492.1 kB / 1.185 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 3.938e-06/1.123, allocations: 0 / 1.185 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.002028/1.125, allocations: 1.153 MB / 1.186 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/1.125, allocations: 60.06 kB / 1.186 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/1.126, allocations: 0.5822 MB / 1.187 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/1.126, allocations: 41.7 kB / 1.187 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/1.126, allocations: 459.6 kB / 1.187 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.127, allocations: 268.1 kB / 1.187 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.127, allocations: 134.6 kB / 1.187 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.127, allocations: 382.8 kB / 1.188 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/1.128, allocations: 333.8 kB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/1.128, allocations: 452.7 kB / 1.189 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.129, allocations: 0.8194 MB / 1.189 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.129, allocations: 4 kB / 1.189 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001477/1.131, allocations: 0.9257 MB / 1.19 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.131, allocations: 8 kB / 1.19 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.131, allocations: 4 kB / 1.19 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/1.131, allocations: 7.938 kB / 1.19 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/1.132, allocations: 164.1 kB / 1.19 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.132, allocations: 7.984 kB / 1.19 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/1.132, allocations: 63.28 kB / 1.191 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/1.132, allocations: 24 kB / 1.191 GB, free: 9.539 MB / 0.9512 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.0005518/1.133, allocations: 331.5 kB / 1.191 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.133, allocations: 79.06 kB / 1.191 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/1.133, allocations: 123.6 kB / 1.191 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.133, allocations: 4 kB / 1.191 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.133, allocations: 7.938 kB / 1.191 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.135, allocations: 1.089 MB / 1.192 GB, free: 7.812 MB / 0.9512 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.003205/1.138, allocations: 2.308 MB / 1.194 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.138, allocations: 0 / 1.194 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/1.139, allocations: 175.8 kB / 1.195 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.139, allocations: 4 kB / 1.195 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/1.139, allocations: 19.98 kB / 1.195 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.139, allocations: 4 kB / 1.195 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.139, allocations: 0 / 1.195 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/1.141, allocations: 1.354 MB / 1.196 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/1.141, allocations: 248 kB / 1.196 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.141, allocations: 23.98 kB / 1.196 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/1.142, allocations: 20 kB / 1.196 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.142, allocations: 40.59 kB / 1.196 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.142, allocations: 23.98 kB / 1.196 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005351/1.143, allocations: 415.1 kB / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.143, allocations: 0 / 1.197 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001073/1.144, allocations: 371 kB / 1.197 GB, free: 2.711 MB / 0.9512 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.0003781/1.144, allocations: 196.4 kB / 1.197 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001782/1.146, allocations: 1.029 MB / 1.198 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.146, allocations: 0 / 1.198 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/1.147, allocations: 427.5 kB / 1.199 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.149, allocations: 0.5974 MB / 1.199 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/1.153, allocations: 2.187 MB / 1.201 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/1.154, allocations: 1.136 MB / 1.202 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001109/1.155, allocations: 275.1 kB / 1.203 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.155, allocations: 79.38 kB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/1.155, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.03317/1.188, allocations: 19.07 MB / 1.221 GB, free: 9.922 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches