Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 169.3 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 95.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 9.969 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.133/5.41, allocations: 2.194 GB / 3.094 GB, free: 26.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/5.41, allocations: 89.17 kB / 3.094 GB, free: 25.94 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 2.258/7.668, allocations: 0.5904 GB / 3.685 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.412e-06/7.668, allocations: 0 / 3.685 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.216e-05/7.668, allocations: 35.92 kB / 3.685 GB, free: 125.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004479/7.672, allocations: 1.676 MB / 3.686 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/7.672, allocations: 12.03 kB / 3.686 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/7.674, allocations: 335.8 kB / 3.687 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/7.676, allocations: 0.851 MB / 3.688 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/7.676, allocations: 78.05 kB / 3.688 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/7.676, allocations: 107.9 kB / 3.688 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/7.678, allocations: 1.133 MB / 3.689 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/7.678, allocations: 0 / 3.689 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/7.678, allocations: 51.97 kB / 3.689 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-05/7.678, allocations: 58.09 kB / 3.689 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/7.68, allocations: 1.18 MB / 3.69 GB, free: 119.7 MB / 0.8855 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.005607/7.685, allocations: 5.054 MB / 3.695 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/7.686, allocations: 0.9614 MB / 3.696 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/7.686, allocations: 12.8 kB / 3.696 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/7.687, allocations: 0.4924 MB / 3.697 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.476e-06/7.687, allocations: 0 / 3.697 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.001709/7.689, allocations: 1.169 MB / 3.698 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/7.689, allocations: 64.06 kB / 3.698 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/7.689, allocations: 0.4995 MB / 3.698 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/7.689, allocations: 45.7 kB / 3.698 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/7.69, allocations: 463.6 kB / 3.699 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/7.69, allocations: 268.1 kB / 3.699 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/7.69, allocations: 16 kB / 3.699 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001017/7.69, allocations: 386.8 kB / 3.699 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/7.69, allocations: 329.8 kB / 3.7 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/7.691, allocations: 462.4 kB / 3.7 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/7.691, allocations: 403.1 kB / 3.7 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/7.691, allocations: 0 / 3.7 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001081/7.692, allocations: 0.9374 MB / 3.701 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/7.692, allocations: 4 kB / 3.701 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/7.692, allocations: 7.938 kB / 3.701 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/7.692, allocations: 11.95 kB / 3.701 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/7.693, allocations: 151.8 kB / 3.702 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/7.693, allocations: 4 kB / 3.702 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/7.694, allocations: 139.5 kB / 3.702 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/7.694, allocations: 32 kB / 3.702 GB, free: 107.2 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005165/7.695, allocations: 333.5 kB / 3.702 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/7.695, allocations: 79.16 kB / 3.702 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/7.695, allocations: 111.7 kB / 3.702 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/7.695, allocations: 11.95 kB / 3.702 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/7.695, allocations: 0 / 3.702 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009464/7.696, allocations: 1.093 MB / 3.703 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/7.699, allocations: 2.16 MB / 3.705 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/7.699, allocations: 7.875 kB / 3.705 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/7.7, allocations: 171.8 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/7.7, allocations: 4 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/7.7, allocations: 20 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/7.7, allocations: 3.938 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.7, allocations: 4 kB / 3.706 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/7.701, allocations: 1.508 MB / 3.707 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/7.702, allocations: 264 kB / 3.707 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/7.702, allocations: 12 kB / 3.707 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/7.703, allocations: 103.8 kB / 3.707 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/7.703, allocations: 40.59 kB / 3.707 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/7.703, allocations: 27.98 kB / 3.708 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004353/7.703, allocations: 419 kB / 3.708 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/7.703, allocations: 0 / 3.708 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001452/7.705, allocations: 0.5147 MB / 3.708 GB, free: 100.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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 (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.001844/7.707, allocations: 1.621 MB / 3.71 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001025/7.708, allocations: 0.8058 MB / 3.711 GB, free: 97.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.708, allocations: 0 / 3.711 GB, free: 97.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/7.708, allocations: 431.5 kB / 3.711 GB, free: 97.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/7.71, allocations: 0.5583 MB / 3.712 GB, free: 96.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/7.714, allocations: 2.703 MB / 3.714 GB, free: 93.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/7.714, allocations: 1.167 MB / 3.716 GB, free: 92.76 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00105/7.715, allocations: 275.1 kB / 3.716 GB, free: 92.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/7.715, allocations: 67.44 kB / 3.716 GB, free: 92.42 MB / 0.8855 GB Notification: Performance of SimCode: time 9.22e-07/7.715, allocations: 0 / 3.716 GB, free: 92.42 MB / 0.8855 GB Notification: Performance of Templates: time 0.04621/7.762, allocations: 37.35 MB / 3.752 GB, free: 55.24 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches