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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001409/0.001409, allocations: 195 kB / 16.14 MB, free: 6.656 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.354/2.354, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 68.09 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5913, allocations: 140.4 MB / 0.9489 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1997/0.791, allocations: 202 MB / 1.146 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009967/0.801, allocations: 6.448 MB / 1.152 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.8021, allocations: 35.81 kB / 1.152 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.8042, allocations: 0.6376 MB / 1.153 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006443/0.8106, allocations: 2.529 MB / 1.156 GB, free: 14.05 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.001641/0.8123, allocations: 0.6255 MB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004655/0.817, allocations: 4.841 MB / 1.161 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.8183, allocations: 0.9631 MB / 1.162 GB, free: 7.598 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.8204, allocations: 1.078 MB / 1.163 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.8228, allocations: 1.157 MB / 1.164 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.823, allocations: 72 kB / 1.164 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.8282, allocations: 2.723 MB / 1.167 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.8288, allocations: 466.7 kB / 1.167 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009606/0.8298, allocations: 0.6766 MB / 1.168 GB, free: 1.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.8339, allocations: 2.89 MB / 1.171 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8339, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8339, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.8339, allocations: 0 / 1.171 GB, free: 14.52 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.004085/0.838, allocations: 1.773 MB / 1.172 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8381, allocations: 12.03 kB / 1.172 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.8405, allocations: 350.1 kB / 1.173 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.8418, allocations: 0.8389 MB / 1.174 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.8419, allocations: 78.02 kB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.8421, allocations: 103.9 kB / 1.174 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.844, allocations: 1.191 MB / 1.175 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.8441, allocations: 8 kB / 1.175 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.8442, allocations: 39.98 kB / 1.175 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.8443, allocations: 58.08 kB / 1.175 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.8463, allocations: 1.253 MB / 1.176 GB, free: 8.684 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.00661/0.8529, allocations: 5.065 MB / 1.181 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.8544, allocations: 1.154 MB / 1.182 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/0.8552, allocations: 0.5051 MB / 1.183 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.8552, allocations: 20.73 kB / 1.183 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/0.856, allocations: 492.1 kB / 1.183 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.946e-06/0.856, allocations: 0 / 1.183 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002113/0.8582, allocations: 1.161 MB / 1.184 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.8582, allocations: 60.06 kB / 1.184 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.859, allocations: 0.5744 MB / 1.185 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.8591, allocations: 41.7 kB / 1.185 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.8594, allocations: 459.6 kB / 1.186 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.8597, allocations: 264 kB / 1.186 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.8599, allocations: 134.6 kB / 1.186 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8601, allocations: 378.8 kB / 1.186 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.8606, allocations: 337.8 kB / 1.187 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.8612, allocations: 452.7 kB / 1.187 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.8624, allocations: 0.8194 MB / 1.188 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8625, allocations: 0 / 1.188 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001486/0.8639, allocations: 0.9296 MB / 1.189 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.864, allocations: 9.906 kB / 1.189 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.864, allocations: 4 kB / 1.189 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.864, allocations: 11.94 kB / 1.189 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.8647, allocations: 159.7 kB / 1.189 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.8648, allocations: 4 kB / 1.189 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8659, allocations: 159.2 kB / 1.189 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.8659, allocations: 24 kB / 1.189 GB, free: 10.83 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.000609/0.8666, allocations: 329.5 kB / 1.189 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.8667, allocations: 87.05 kB / 1.189 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.867, allocations: 115.7 kB / 1.19 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.867, allocations: 11.94 kB / 1.19 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.867, allocations: 0 / 1.19 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/0.8684, allocations: 1.089 MB / 1.191 GB, free: 9.109 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.003792/0.8722, allocations: 2.316 MB / 1.193 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8722, allocations: 0 / 1.193 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.8731, allocations: 175.8 kB / 1.193 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.8731, allocations: 32 / 1.193 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.8732, allocations: 24 kB / 1.193 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.8732, allocations: 4 kB / 1.193 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8732, allocations: 0 / 1.193 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.8751, allocations: 1.35 MB / 1.194 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.8756, allocations: 256 kB / 1.195 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.8757, allocations: 12 kB / 1.195 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/0.8766, allocations: 103.8 kB / 1.195 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.8767, allocations: 44.59 kB / 1.195 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.8768, allocations: 31.98 kB / 1.195 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000577/0.8774, allocations: 407.1 kB / 1.195 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8774, allocations: 0 / 1.195 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009618/0.8783, allocations: 363.1 kB / 1.196 GB, free: 3.926 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.0003097/0.8787, allocations: 190.9 kB / 1.196 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.8799, allocations: 0.798 MB / 1.197 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.88, allocations: 0.6875 kB / 1.197 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.8805, allocations: 435.5 kB / 1.197 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.8831, allocations: 0.5469 MB / 1.198 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.8868, allocations: 2.633 MB / 1.2 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.8875, allocations: 1.136 MB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001106/0.8886, allocations: 283.1 kB / 1.201 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.8889, allocations: 79.42 kB / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of SimCode: time 1.353e-06/0.8889, allocations: 0 / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of Templates: time 0.03114/0.9201, allocations: 18.25 MB / 1.219 GB, free: 11.77 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