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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.001511, allocations: 180.9 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7872 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009439, allocations: 96.66 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.824e-05, allocations: 6.188 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3701, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.425/6.796, allocations: 1.922 GB / 3.135 GB, free: 344.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/6.796, allocations: 83.45 kB / 3.135 GB, free: 344.7 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 1.955/8.751, allocations: 0.6156 GB / 3.75 GB, free: 175 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.363e-06/8.751, allocations: 0 / 3.75 GB, free: 175 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.643e-05/8.751, allocations: 28.12 kB / 3.75 GB, free: 175 MB / 1.151 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.003873/8.755, allocations: 1.55 MB / 3.752 GB, free: 173.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/8.755, allocations: 8.031 kB / 3.752 GB, free: 173.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/8.757, allocations: 330.2 kB / 3.752 GB, free: 173.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/8.758, allocations: 0.8666 MB / 3.753 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/8.759, allocations: 74.02 kB / 3.753 GB, free: 172.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/8.759, allocations: 107.9 kB / 3.753 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/8.76, allocations: 1.097 MB / 3.754 GB, free: 170.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/8.76, allocations: 3.938 kB / 3.754 GB, free: 170.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/8.761, allocations: 43.98 kB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/8.761, allocations: 62.06 kB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/8.762, allocations: 1.152 MB / 3.755 GB, free: 169.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005287/8.767, allocations: 5.046 MB / 3.76 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/8.769, allocations: 0.9588 MB / 3.761 GB, free: 163.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/8.769, allocations: 0.4944 MB / 3.762 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/8.769, allocations: 20.91 kB / 3.762 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/8.77, allocations: 490 kB / 3.762 GB, free: 162.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/8.77, allocations: 3.938 kB / 3.762 GB, free: 162.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001333/8.771, allocations: 0.8469 MB / 3.763 GB, free: 161.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/8.771, allocations: 56.19 kB / 3.763 GB, free: 161.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/8.772, allocations: 0.5072 MB / 3.764 GB, free: 160.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/8.772, allocations: 45.64 kB / 3.764 GB, free: 160.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/8.772, allocations: 463.7 kB / 3.764 GB, free: 160.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/8.772, allocations: 272.1 kB / 3.764 GB, free: 159.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/8.772, allocations: 16 kB / 3.764 GB, free: 159.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/8.772, allocations: 378.8 kB / 3.765 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/8.773, allocations: 333.5 kB / 3.765 GB, free: 159.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/8.773, allocations: 434.8 kB / 3.765 GB, free: 158.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/8.774, allocations: 405.9 kB / 3.766 GB, free: 158.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/8.774, allocations: 0 / 3.766 GB, free: 158.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001112/8.775, allocations: 0.9286 MB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/8.775, allocations: 8.344 kB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/8.775, allocations: 7.953 kB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/8.775, allocations: 8 kB / 3.767 GB, free: 157.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/8.775, allocations: 151.8 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/8.775, allocations: 7.938 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/8.777, allocations: 163.2 kB / 3.767 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/8.777, allocations: 28 kB / 3.767 GB, free: 157 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/8.777, allocations: 141.5 kB / 3.767 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/8.777, allocations: 83.06 kB / 3.767 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/8.777, allocations: 107.8 kB / 3.767 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/8.777, allocations: 11.95 kB / 3.767 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/8.777, allocations: 0 / 3.767 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009851/8.778, allocations: 1.1 MB / 3.768 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/8.781, allocations: 2.191 MB / 3.771 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/8.781, allocations: 4 kB / 3.771 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/8.782, allocations: 171.8 kB / 3.771 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/8.782, allocations: 4 kB / 3.771 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/8.782, allocations: 20.03 kB / 3.771 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/8.782, allocations: 8 kB / 3.771 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/8.782, allocations: 0 / 3.771 GB, free: 153 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/8.783, allocations: 1.368 MB / 3.772 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/8.784, allocations: 256 kB / 3.772 GB, free: 151.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/8.784, allocations: 16 kB / 3.772 GB, free: 151.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/8.785, allocations: 103.8 kB / 3.773 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/8.785, allocations: 40.72 kB / 3.773 GB, free: 151.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/8.785, allocations: 23.98 kB / 3.773 GB, free: 151.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004222/8.785, allocations: 407.2 kB / 3.773 GB, free: 150.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.785, allocations: 0 / 3.773 GB, free: 150.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001378/8.787, allocations: 0.5146 MB / 3.773 GB, free: 150.2 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/8.789, allocations: 1.595 MB / 3.775 GB, free: 148.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00105/8.79, allocations: 0.8007 MB / 3.776 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/8.79, allocations: 0 / 3.776 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/8.79, allocations: 425 kB / 3.776 GB, free: 147.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/8.793, allocations: 0.5612 MB / 3.777 GB, free: 146.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/8.795, allocations: 1.807 MB / 3.779 GB, free: 144.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/8.796, allocations: 1.155 MB / 3.78 GB, free: 143.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001067/8.797, allocations: 287.1 kB / 3.78 GB, free: 143.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/8.797, allocations: 75.42 kB / 3.78 GB, free: 143.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/8.797, allocations: 0 / 3.78 GB, free: 143.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04975/8.847, allocations: 41.4 MB / 3.82 GB, free: 102.1 MB / 1.151 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","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches