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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.311/2.311, allocations: 390.5 MB / 398 MB, free: 10.93 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.001204/0.001204, allocations: 176.8 kB / 491.2 MB, free: 1.582 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.772/1.772, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009524/0.0009525, allocations: 94.2 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.292e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4041, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.383/6.787, allocations: 1.922 GB / 3.135 GB, free: 407.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/6.788, allocations: 88.55 kB / 3.135 GB, free: 407.4 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 2.082/8.869, allocations: 0.6091 GB / 3.744 GB, free: 220.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/8.869, allocations: 0 / 3.744 GB, free: 220.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.142e-05/8.869, allocations: 35.44 kB / 3.744 GB, free: 220.2 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.004169/8.874, allocations: 1.543 MB / 3.745 GB, free: 218.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/8.874, allocations: 12.03 kB / 3.745 GB, free: 218.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/8.876, allocations: 334.2 kB / 3.746 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/8.877, allocations: 0.8647 MB / 3.746 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/8.877, allocations: 32 kB / 3.747 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/8.877, allocations: 59.91 kB / 3.747 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001431/8.879, allocations: 0.9998 MB / 3.748 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/8.88, allocations: 0.9568 MB / 3.748 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/8.88, allocations: 4 kB / 3.748 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/8.88, allocations: 0 / 3.748 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/8.88, allocations: 58.08 kB / 3.749 GB, free: 215.2 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.005125/8.885, allocations: 4.858 MB / 3.753 GB, free: 210 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/8.888, allocations: 3.402 MB / 3.757 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/8.888, allocations: 459.1 kB / 3.757 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/8.888, allocations: 16.06 kB / 3.757 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/8.889, allocations: 396.5 kB / 3.757 GB, free: 205.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/8.889, allocations: 0 / 3.757 GB, free: 205.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001163/8.89, allocations: 0.6986 MB / 3.758 GB, free: 204.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/8.89, allocations: 64.14 kB / 3.758 GB, free: 204.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/8.89, allocations: 422.3 kB / 3.759 GB, free: 203.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/8.89, allocations: 25.7 kB / 3.759 GB, free: 203.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/8.89, allocations: 467.4 kB / 3.759 GB, free: 203.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/8.891, allocations: 256.2 kB / 3.759 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/8.891, allocations: 0 / 3.759 GB, free: 203.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001171/8.891, allocations: 378.8 kB / 3.76 GB, free: 202.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/8.891, allocations: 265.5 kB / 3.76 GB, free: 202.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/8.892, allocations: 365.2 kB / 3.76 GB, free: 202.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/8.892, allocations: 336.4 kB / 3.761 GB, free: 201.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/8.892, allocations: 4 kB / 3.761 GB, free: 201.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008891/8.893, allocations: 0.7648 MB / 3.761 GB, free: 201 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/8.893, allocations: 4.625 kB / 3.761 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/8.893, allocations: 4 kB / 3.761 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/8.893, allocations: 8 kB / 3.761 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/8.893, allocations: 151.8 kB / 3.761 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/8.893, allocations: 11.94 kB / 3.761 GB, free: 200.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/8.895, allocations: 143.6 kB / 3.762 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/8.895, allocations: 28 kB / 3.762 GB, free: 200.7 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.0001375/8.895, allocations: 116.8 kB / 3.762 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/8.895, allocations: 71.16 kB / 3.762 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/8.895, allocations: 91.55 kB / 3.762 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/8.895, allocations: 11.94 kB / 3.762 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/8.895, allocations: 3.938 kB / 3.762 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008535/8.896, allocations: 0.9553 MB / 3.763 GB, free: 199.4 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 postOpt removeSimpleEquations (simulation): time 0.002648/8.899, allocations: 2.502 MB / 3.765 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/8.899, allocations: 0 / 3.765 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/8.899, allocations: 171.8 kB / 3.765 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/8.899, allocations: 4 kB / 3.765 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/8.899, allocations: 20.02 kB / 3.766 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/8.899, allocations: 4 kB / 3.766 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/8.899, allocations: 0 / 3.766 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/8.901, allocations: 1.157 MB / 3.767 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/8.901, allocations: 240.1 kB / 3.767 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/8.901, allocations: 3.984 kB / 3.767 GB, free: 195 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/8.902, allocations: 99.75 kB / 3.767 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/8.902, allocations: 40.72 kB / 3.767 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/8.902, allocations: 27.98 kB / 3.767 GB, free: 194.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003137/8.902, allocations: 326.9 kB / 3.767 GB, free: 194.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.902, allocations: 0 / 3.767 GB, free: 194.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001239/8.903, allocations: 446.9 kB / 3.768 GB, free: 194.1 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.002082/8.906, allocations: 1.804 MB / 3.77 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000832/8.906, allocations: 0.6532 MB / 3.77 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/8.906, allocations: 0 / 3.77 GB, free: 191.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/8.907, allocations: 354.8 kB / 3.771 GB, free: 191.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/8.909, allocations: 496.4 kB / 3.771 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/8.912, allocations: 1.709 MB / 3.773 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/8.912, allocations: 1.159 MB / 3.774 GB, free: 188 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008264/8.913, allocations: 254.6 kB / 3.774 GB, free: 187.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/8.913, allocations: 75.42 kB / 3.774 GB, free: 187.7 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/8.913, allocations: 0 / 3.774 GB, free: 187.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03752/8.951, allocations: 24.74 MB / 3.798 GB, free: 163.2 MB / 1.151 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","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches