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.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001348, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001044/0.001044, allocations: 90.52 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.879e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2243, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.153/6.377, allocations: 2.194 GB / 3.086 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/6.377, allocations: 87.39 kB / 3.086 GB, free: 135.5 MB / 0.8698 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.449/8.826, allocations: 0.5899 GB / 3.676 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/8.826, allocations: 0 / 3.676 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.607e-05/8.826, allocations: 27.75 kB / 3.676 GB, free: 176.4 MB / 0.8698 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.004914/8.831, allocations: 1.552 MB / 3.677 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/8.831, allocations: 10.97 kB / 3.677 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/8.834, allocations: 339.6 kB / 3.678 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/8.836, allocations: 0.8445 MB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/8.836, allocations: 79.16 kB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/8.836, allocations: 108.7 kB / 3.679 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/8.838, allocations: 1.111 MB / 3.68 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/8.838, allocations: 3.953 kB / 3.68 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/8.838, allocations: 44.42 kB / 3.68 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/8.838, allocations: 62.41 kB / 3.68 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/8.84, allocations: 1.152 MB / 3.681 GB, free: 175.1 MB / 0.8698 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.006545/8.847, allocations: 5.055 MB / 3.686 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/8.848, allocations: 0.9469 MB / 3.687 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/8.849, allocations: 0.495 MB / 3.687 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/8.849, allocations: 19.73 kB / 3.687 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/8.849, allocations: 486.8 kB / 3.688 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.597e-06/8.849, allocations: 0 / 3.688 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001537/8.851, allocations: 0.8434 MB / 3.689 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/8.851, allocations: 59.97 kB / 3.689 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/8.852, allocations: 0.5043 MB / 3.689 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/8.852, allocations: 37.3 kB / 3.689 GB, free: 170 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/8.852, allocations: 461.8 kB / 3.69 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/8.852, allocations: 269.2 kB / 3.69 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/8.852, allocations: 20.5 kB / 3.69 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001351/8.852, allocations: 389.1 kB / 3.69 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/8.853, allocations: 323.6 kB / 3.691 GB, free: 169 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/8.853, allocations: 446.2 kB / 3.691 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/8.854, allocations: 403.7 kB / 3.691 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/8.854, allocations: 3.844 kB / 3.691 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001251/8.855, allocations: 0.9133 MB / 3.692 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/8.855, allocations: 10.56 kB / 3.692 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/8.855, allocations: 3.531 kB / 3.692 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/8.855, allocations: 3.406 kB / 3.692 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/8.856, allocations: 154.8 kB / 3.693 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/8.856, allocations: 9.688 kB / 3.693 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/8.857, allocations: 139.7 kB / 3.693 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/8.857, allocations: 29.88 kB / 3.693 GB, free: 168.1 MB / 0.8698 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.0001758/8.857, allocations: 146 kB / 3.693 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/8.857, allocations: 83.38 kB / 3.693 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/8.858, allocations: 112.4 kB / 3.693 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/8.858, allocations: 7.562 kB / 3.693 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/8.858, allocations: 0 / 3.693 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/8.859, allocations: 1.08 MB / 3.694 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/8.862, allocations: 2.188 MB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/8.862, allocations: 3.938 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/8.863, allocations: 177.3 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/8.863, allocations: 3.188 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/8.863, allocations: 15.78 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/8.863, allocations: 11.73 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/8.863, allocations: 3 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/8.865, allocations: 1.486 MB / 3.698 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/8.865, allocations: 262.5 kB / 3.698 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/8.866, allocations: 21.61 kB / 3.698 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/8.866, allocations: 106.4 kB / 3.698 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/8.867, allocations: 38.48 kB / 3.698 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/8.867, allocations: 29.44 kB / 3.698 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004892/8.867, allocations: 411.3 kB / 3.699 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/8.867, allocations: 0 / 3.699 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001617/8.869, allocations: 0.5141 MB / 3.699 GB, free: 164.8 MB / 0.8698 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 () * 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.002375/8.871, allocations: 1.61 MB / 3.701 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001207/8.872, allocations: 0.7931 MB / 3.702 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/8.872, allocations: 3.906 kB / 3.702 GB, free: 164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/8.873, allocations: 425.5 kB / 3.702 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/8.875, allocations: 0.5484 MB / 3.703 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/8.878, allocations: 1.801 MB / 3.704 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/8.879, allocations: 1.167 MB / 3.705 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001061/8.88, allocations: 280.9 kB / 3.706 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/8.88, allocations: 79.95 kB / 3.706 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/8.88, allocations: 0 / 3.706 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.05391/8.934, allocations: 41.68 MB / 3.746 GB, free: 130.7 MB / 0.8698 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