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.001649/0.001649, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002198/0.002198, allocations: 191.8 kB / 16.25 MB, free: 6.648 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.357/2.357, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7203, allocations: 140.3 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2178/0.9381, allocations: 201.6 MB / 1.146 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.9483, allocations: 6.323 MB / 1.152 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.9499, allocations: 35.81 kB / 1.152 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.9519, allocations: 0.6572 MB / 1.153 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006859/0.9588, allocations: 2.522 MB / 1.155 GB, free: 14.2 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.001873/0.9607, allocations: 0.6535 MB / 1.156 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.9647, allocations: 3.275 MB / 1.159 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.9663, allocations: 1.109 MB / 1.16 GB, free: 9.141 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.9687, allocations: 1.257 MB / 1.161 GB, free: 7.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.9711, allocations: 1.169 MB / 1.163 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.9715, allocations: 128 kB / 1.163 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.976, allocations: 2.47 MB / 1.165 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.9767, allocations: 0.5143 MB / 1.166 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.978, allocations: 0.743 MB / 1.166 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.9829, allocations: 2.941 MB / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9829, allocations: 0 / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9829, allocations: 0 / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.511e-05/0.983, allocations: 0 / 1.169 GB, free: 15.9 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.005053/0.9881, allocations: 1.766 MB / 1.171 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9881, allocations: 8.031 kB / 1.171 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.9906, allocations: 350.1 kB / 1.171 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.9922, allocations: 0.8467 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.9923, allocations: 70.02 kB / 1.172 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.9925, allocations: 107.9 kB / 1.172 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.9948, allocations: 1.187 MB / 1.173 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.9949, allocations: 0 / 1.173 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.995, allocations: 43.98 kB / 1.173 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.9951, allocations: 62.06 kB / 1.174 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.9971, allocations: 1.246 MB / 1.175 GB, free: 10.08 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.006648/1.004, allocations: 5.073 MB / 1.18 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.005, allocations: 1.163 MB / 1.181 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/1.006, allocations: 0.4973 MB / 1.181 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/1.006, allocations: 24.78 kB / 1.181 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/1.007, allocations: 484.2 kB / 1.182 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 5.56e-06/1.007, allocations: 3.984 kB / 1.182 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002019/1.009, allocations: 1.157 MB / 1.183 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/1.009, allocations: 60.06 kB / 1.183 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/1.01, allocations: 0.5744 MB / 1.184 GB, free: 484 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/1.01, allocations: 45.7 kB / 1.184 GB, free: 432 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/1.01, allocations: 463.8 kB / 1.184 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/1.01, allocations: 272 kB / 1.184 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/1.011, allocations: 134.6 kB / 1.184 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.011, allocations: 386.8 kB / 1.185 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/1.011, allocations: 329.8 kB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/1.012, allocations: 452.7 kB / 1.186 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.013, allocations: 0.8155 MB / 1.186 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.013, allocations: 4 kB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001471/1.015, allocations: 0.9335 MB / 1.187 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.015, allocations: 4 kB / 1.187 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.015, allocations: 4 kB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.015, allocations: 7.938 kB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/1.015, allocations: 160.1 kB / 1.187 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.015, allocations: 8 kB / 1.187 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.016, allocations: 163.2 kB / 1.188 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/1.017, allocations: 28 kB / 1.188 GB, free: 12.2 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.0005402/1.017, allocations: 335.5 kB / 1.188 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.017, allocations: 79.06 kB / 1.188 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/1.018, allocations: 111.7 kB / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.018, allocations: 8 kB / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.018, allocations: 0 / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/1.019, allocations: 1.093 MB / 1.189 GB, free: 10.48 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.003498/1.022, allocations: 2.308 MB / 1.191 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.022, allocations: 0 / 1.191 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/1.023, allocations: 175.8 kB / 1.192 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.023, allocations: 4 kB / 1.192 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/1.023, allocations: 16 kB / 1.192 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.023, allocations: 7.984 kB / 1.192 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.023, allocations: 0 / 1.192 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.025, allocations: 1.35 MB / 1.193 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/1.026, allocations: 256 kB / 1.193 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.026, allocations: 16 kB / 1.193 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/1.027, allocations: 103.8 kB / 1.193 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/1.027, allocations: 40.59 kB / 1.193 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/1.027, allocations: 23.98 kB / 1.193 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005654/1.028, allocations: 419.1 kB / 1.194 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.028, allocations: 0 / 1.194 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001067/1.029, allocations: 363.1 kB / 1.194 GB, free: 5.301 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.0003427/1.029, allocations: 191.8 kB / 1.194 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.031, allocations: 1.025 MB / 1.195 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.031, allocations: 7.938 kB / 1.195 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007381/1.032, allocations: 431.4 kB / 1.196 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.036, allocations: 0.5816 MB / 1.196 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/1.042, allocations: 2.63 MB / 1.199 GB, free: 432 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.043, allocations: 1.14 MB / 1.2 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002008/1.045, allocations: 271.2 kB / 1.2 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/1.046, allocations: 79.42 kB / 1.2 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/1.046, allocations: 0 / 1.2 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.05883/1.105, allocations: 18.97 MB / 1.219 GB, free: 12.18 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