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.269/2.269, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001231/0.001231, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.826/1.826, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009599/0.0009601, allocations: 99.94 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.867e-05/4.905e-05, allocations: 10.17 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3403, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.191/6.531, allocations: 1.923 GB / 3.142 GB, free: 391.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/6.531, allocations: 87.95 kB / 3.142 GB, free: 391.3 MB / 1.167 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.324/8.856, allocations: 0.6156 GB / 3.757 GB, free: 213.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.493e-06/8.856, allocations: 0 / 3.757 GB, free: 213.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001424/8.856, allocations: 24 kB / 3.757 GB, free: 213.2 MB / 1.167 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.00562/8.862, allocations: 1.552 MB / 3.759 GB, free: 211.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/8.862, allocations: 8.031 kB / 3.759 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/8.864, allocations: 330.2 kB / 3.759 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/8.867, allocations: 0.8667 MB / 3.76 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/8.867, allocations: 74.02 kB / 3.76 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/8.867, allocations: 107.8 kB / 3.76 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/8.869, allocations: 1.097 MB / 3.761 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/8.869, allocations: 0 / 3.761 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/8.869, allocations: 44 kB / 3.761 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/8.869, allocations: 58.06 kB / 3.761 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/8.871, allocations: 1.152 MB / 3.762 GB, free: 207.8 MB / 1.167 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.006595/8.878, allocations: 5.054 MB / 3.767 GB, free: 202.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/8.879, allocations: 0.9632 MB / 3.768 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/8.88, allocations: 0.4977 MB / 3.769 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.369e-05/8.88, allocations: 16.91 kB / 3.769 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/8.881, allocations: 490 kB / 3.769 GB, free: 200.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 4.028e-06/8.881, allocations: 0 / 3.769 GB, free: 200.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001567/8.882, allocations: 0.8468 MB / 3.77 GB, free: 199.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/8.882, allocations: 64.19 kB / 3.77 GB, free: 199.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/8.883, allocations: 0.5111 MB / 3.771 GB, free: 198.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/8.883, allocations: 37.7 kB / 3.771 GB, free: 198.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/8.883, allocations: 459.7 kB / 3.771 GB, free: 198.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/8.883, allocations: 264.1 kB / 3.771 GB, free: 198.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/8.883, allocations: 16 kB / 3.771 GB, free: 198 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001113/8.884, allocations: 382.8 kB / 3.772 GB, free: 197.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/8.884, allocations: 329.5 kB / 3.772 GB, free: 197.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/8.884, allocations: 442.8 kB / 3.773 GB, free: 196.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/8.885, allocations: 401.9 kB / 3.773 GB, free: 196.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/8.885, allocations: 0 / 3.773 GB, free: 196.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00128/8.886, allocations: 0.9364 MB / 3.774 GB, free: 195.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/8.886, allocations: 4 kB / 3.774 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/8.886, allocations: 4 kB / 3.774 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/8.886, allocations: 7.953 kB / 3.774 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/8.887, allocations: 155.8 kB / 3.774 GB, free: 195.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/8.887, allocations: 4 kB / 3.774 GB, free: 195.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/8.888, allocations: 167.5 kB / 3.774 GB, free: 195.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/8.888, allocations: 24 kB / 3.774 GB, free: 195.2 MB / 1.167 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.0001535/8.888, allocations: 144.8 kB / 3.774 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/8.889, allocations: 79.06 kB / 3.774 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/8.889, allocations: 111.8 kB / 3.775 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/8.889, allocations: 8 kB / 3.775 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/8.889, allocations: 3.953 kB / 3.775 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/8.89, allocations: 1.096 MB / 3.776 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/8.893, allocations: 2.187 MB / 3.778 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/8.893, allocations: 0 / 3.778 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/8.894, allocations: 179.8 kB / 3.778 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/8.894, allocations: 8 kB / 3.778 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/8.894, allocations: 12 kB / 3.778 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/8.894, allocations: 4 kB / 3.778 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/8.894, allocations: 0 / 3.778 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/8.896, allocations: 1.379 MB / 3.779 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/8.896, allocations: 252 kB / 3.78 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/8.896, allocations: 20 kB / 3.78 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/8.897, allocations: 91.84 kB / 3.78 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/8.897, allocations: 44.72 kB / 3.78 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/8.897, allocations: 24 kB / 3.78 GB, free: 189.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004247/8.898, allocations: 407.2 kB / 3.78 GB, free: 188.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/8.898, allocations: 3.938 kB / 3.78 GB, free: 188.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001524/8.899, allocations: 0.5107 MB / 3.781 GB, free: 188.4 MB / 1.167 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.002189/8.902, allocations: 1.61 MB / 3.782 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001091/8.903, allocations: 0.8013 MB / 3.783 GB, free: 185.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/8.903, allocations: 4 kB / 3.783 GB, free: 185.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004731/8.903, allocations: 428.3 kB / 3.783 GB, free: 185.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/8.906, allocations: 0.5543 MB / 3.784 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/8.909, allocations: 1.808 MB / 3.786 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/8.909, allocations: 1.159 MB / 3.787 GB, free: 181.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001064/8.91, allocations: 279.1 kB / 3.787 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/8.911, allocations: 71.42 kB / 3.787 GB, free: 181.6 MB / 1.167 GB Notification: Performance of SimCode: time 6.71e-07/8.911, allocations: 4 kB / 3.787 GB, free: 181.6 MB / 1.167 GB Notification: Performance of Templates: time 0.05103/8.962, allocations: 41.39 MB / 3.828 GB, free: 140.4 MB / 1.167 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