Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001426/0.001426, allocations: 111 kB / 16.41 MB, free: 6.492 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.001455/0.001455, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2213/1.259, allocations: 204.2 MB / 1.408 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01064/1.27, allocations: 6.378 MB / 1.414 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.272, allocations: 35.81 kB / 1.414 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/1.274, allocations: 0.7265 MB / 1.415 GB, free: 9.574 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007873/1.282, allocations: 2.679 MB / 1.417 GB, free: 6.887 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.002112/1.284, allocations: 0.7165 MB / 1.418 GB, free: 6.172 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005026/1.289, allocations: 3.274 MB / 1.421 GB, free: 2.887 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.291, allocations: 1.137 MB / 1.422 GB, free: 1.719 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/1.293, allocations: 1.25 MB / 1.423 GB, free: 476 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/1.295, allocations: 1.096 MB / 1.424 GB, free: 15.37 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/1.296, allocations: 131.9 kB / 1.425 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005118/1.301, allocations: 2.358 MB / 1.427 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006778/1.302, allocations: 0.5104 MB / 1.427 GB, free: 12.37 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/1.303, allocations: 0.7391 MB / 1.428 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/1.307, allocations: 2.793 MB / 1.431 GB, free: 8.824 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.307, allocations: 0 / 1.431 GB, free: 8.824 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.483e-06/1.307, allocations: 4 kB / 1.431 GB, free: 8.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.776e-05/1.307, allocations: 0 / 1.431 GB, free: 8.82 MB / 1.154 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.312, allocations: 1.775 MB / 1.433 GB, free: 6.992 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.312, allocations: 8.031 kB / 1.433 GB, free: 6.984 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/1.314, allocations: 342.2 kB / 1.433 GB, free: 6.648 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.316, allocations: 0.8856 MB / 1.434 GB, free: 5.719 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/1.316, allocations: 74.02 kB / 1.434 GB, free: 5.645 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/1.316, allocations: 104 kB / 1.434 GB, free: 5.543 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.318, allocations: 1.183 MB / 1.435 GB, free: 4.328 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.318, allocations: 0 / 1.435 GB, free: 4.328 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.318, allocations: 48 kB / 1.435 GB, free: 4.281 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/1.318, allocations: 62.06 kB / 1.435 GB, free: 4.219 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.32, allocations: 1.246 MB / 1.436 GB, free: 2.965 MB / 1.154 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.007054/1.328, allocations: 5.104 MB / 1.441 GB, free: 13.4 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.329, allocations: 1.151 MB / 1.443 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/1.33, allocations: 0.509 MB / 1.443 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-05/1.33, allocations: 12.8 kB / 1.443 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008138/1.331, allocations: 492.2 kB / 1.444 GB, free: 11.15 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/1.331, allocations: 0 / 1.444 GB, free: 11.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.002028/1.333, allocations: 1.161 MB / 1.445 GB, free: 9.984 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/1.333, allocations: 60.06 kB / 1.445 GB, free: 9.914 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/1.334, allocations: 0.5706 MB / 1.445 GB, free: 9.336 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/1.334, allocations: 41.7 kB / 1.445 GB, free: 9.289 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/1.334, allocations: 471.5 kB / 1.446 GB, free: 8.82 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/1.334, allocations: 268.1 kB / 1.446 GB, free: 8.555 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/1.334, allocations: 126.6 kB / 1.446 GB, free: 8.426 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.335, allocations: 386.8 kB / 1.446 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/1.335, allocations: 329.8 kB / 1.447 GB, free: 7.719 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/1.336, allocations: 452.7 kB / 1.447 GB, free: 7.242 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/1.337, allocations: 0.8155 MB / 1.448 GB, free: 6.387 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.337, allocations: 4 kB / 1.448 GB, free: 6.383 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001387/1.338, allocations: 0.9335 MB / 1.449 GB, free: 5.441 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.338, allocations: 7.938 kB / 1.449 GB, free: 5.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.338, allocations: 7.938 kB / 1.449 GB, free: 5.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/1.338, allocations: 11.94 kB / 1.449 GB, free: 5.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/1.339, allocations: 155.7 kB / 1.449 GB, free: 5.262 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.339, allocations: 8 kB / 1.449 GB, free: 5.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/1.34, allocations: 59.72 kB / 1.449 GB, free: 5.195 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/1.34, allocations: 24 kB / 1.449 GB, free: 5.172 MB / 1.17 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.0005263/1.34, allocations: 334.8 kB / 1.45 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.34, allocations: 87.05 kB / 1.45 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/1.341, allocations: 111.7 kB / 1.45 GB, free: 4.629 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/1.342, allocations: 1.089 MB / 1.451 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.342, allocations: 0 / 1.451 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/1.342, allocations: 251.9 kB / 1.451 GB, free: 3.191 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.343, allocations: 15.98 kB / 1.451 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/1.343, allocations: 24 kB / 1.451 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/1.343, allocations: 40.59 kB / 1.451 GB, free: 3.113 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001896/1.345, allocations: 1.024 MB / 1.452 GB, free: 2.082 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001932/1.347, allocations: 1.465 MB / 1.454 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005821/1.348, allocations: 421 kB / 1.454 GB, free: 192 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005111/1.348, allocations: 411.1 kB / 1.454 GB, free: 15.79 MB / 1.186 GB Notification: Performance of Backend: time 2.9e-07/1.348, allocations: 0 / 1.454 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002637/1.351, allocations: 1.028 MB / 1.455 GB, free: 14.76 MB / 1.186 GB Notification: Performance of SimCode: time 0.004373/1.355, allocations: 2.667 MB / 1.458 GB, free: 12.05 MB / 1.186 GB Notification: Performance of Templates: time 0.03964/1.395, allocations: 23.76 MB / 1.481 GB, free: 4.477 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches