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.341/2.341, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001083/0.001082, allocations: 180.8 kB / 487.4 MB, free: 5.066 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.849/1.849, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 91.8 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.746e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3753, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.539/6.915, allocations: 1.921 GB / 3.127 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/6.915, allocations: 81.06 kB / 3.128 GB, free: 351.9 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 2.074/8.989, allocations: 0.6091 GB / 3.737 GB, free: 207.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/8.989, allocations: 0 / 3.737 GB, free: 207.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.629e-05/8.989, allocations: 28.12 kB / 3.737 GB, free: 207.1 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.003837/8.993, allocations: 1.553 MB / 3.738 GB, free: 205.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/8.993, allocations: 8.031 kB / 3.738 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/8.995, allocations: 330.2 kB / 3.738 GB, free: 205.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/8.996, allocations: 0.8634 MB / 3.739 GB, free: 204.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/8.996, allocations: 32 kB / 3.739 GB, free: 204.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/8.996, allocations: 67.84 kB / 3.739 GB, free: 204.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/8.998, allocations: 0.992 MB / 3.74 GB, free: 203.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/8.999, allocations: 0.9606 MB / 3.741 GB, free: 202.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/8.999, allocations: 0 / 3.741 GB, free: 202.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/8.999, allocations: 0 / 3.741 GB, free: 202.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/8.999, allocations: 58.08 kB / 3.741 GB, free: 202.1 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.004903/9.004, allocations: 4.858 MB / 3.746 GB, free: 196.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/9.006, allocations: 3.404 MB / 3.749 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/9.007, allocations: 455.2 kB / 3.75 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/9.007, allocations: 19.98 kB / 3.75 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/9.007, allocations: 400.5 kB / 3.75 GB, free: 192 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.075e-06/9.007, allocations: 4 kB / 3.75 GB, free: 192 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001073/9.008, allocations: 0.6985 MB / 3.751 GB, free: 191.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/9.008, allocations: 64.14 kB / 3.751 GB, free: 191.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/9.009, allocations: 418.4 kB / 3.751 GB, free: 190.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/9.009, allocations: 29.7 kB / 3.751 GB, free: 190.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/9.009, allocations: 459.4 kB / 3.752 GB, free: 190.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/9.009, allocations: 264 kB / 3.752 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/9.009, allocations: 0 / 3.752 GB, free: 190.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/9.009, allocations: 378.8 kB / 3.753 GB, free: 189.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/9.01, allocations: 261.5 kB / 3.753 GB, free: 189.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/9.01, allocations: 373.3 kB / 3.753 GB, free: 189 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/9.01, allocations: 340.4 kB / 3.753 GB, free: 188.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/9.01, allocations: 0 / 3.753 GB, free: 188.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008477/9.011, allocations: 0.7609 MB / 3.754 GB, free: 187.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/9.011, allocations: 6.688 kB / 3.754 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/9.011, allocations: 8 kB / 3.754 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/9.011, allocations: 8 kB / 3.754 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/9.012, allocations: 159.7 kB / 3.754 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/9.012, allocations: 4 kB / 3.754 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/9.013, allocations: 143.2 kB / 3.755 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/9.013, allocations: 31.98 kB / 3.755 GB, free: 187.6 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.0001105/9.013, allocations: 116.8 kB / 3.755 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/9.013, allocations: 75.16 kB / 3.755 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/9.013, allocations: 83.55 kB / 3.755 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/9.013, allocations: 8 kB / 3.755 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/9.013, allocations: 0 / 3.755 GB, free: 187.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007502/9.014, allocations: 0.9553 MB / 3.756 GB, free: 186.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 postOpt removeSimpleEquations (simulation): time 0.00244/9.017, allocations: 2.504 MB / 3.758 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/9.017, allocations: 8.031 kB / 3.758 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/9.017, allocations: 167.8 kB / 3.758 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/9.017, allocations: 3.938 kB / 3.758 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/9.017, allocations: 15.98 kB / 3.758 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/9.017, allocations: 0 / 3.758 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/9.017, allocations: 0 / 3.758 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/9.019, allocations: 1.157 MB / 3.76 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/9.019, allocations: 240 kB / 3.76 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/9.019, allocations: 4 kB / 3.76 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/9.02, allocations: 91.81 kB / 3.76 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/9.02, allocations: 44.7 kB / 3.76 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/9.02, allocations: 31.98 kB / 3.76 GB, free: 181.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002898/9.02, allocations: 326.9 kB / 3.76 GB, free: 181.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/9.02, allocations: 3.938 kB / 3.76 GB, free: 181.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001086/9.021, allocations: 450.9 kB / 3.761 GB, free: 181 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.001815/9.023, allocations: 1.794 MB / 3.762 GB, free: 179.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007312/9.024, allocations: 0.6571 MB / 3.763 GB, free: 178.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/9.024, allocations: 0.6875 kB / 3.763 GB, free: 178.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/9.024, allocations: 362.8 kB / 3.763 GB, free: 178.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/9.026, allocations: 0.4908 MB / 3.764 GB, free: 177.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/9.029, allocations: 1.695 MB / 3.766 GB, free: 176.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/9.029, allocations: 1.159 MB / 3.767 GB, free: 174.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000728/9.03, allocations: 254.5 kB / 3.767 GB, free: 174.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/9.03, allocations: 75.42 kB / 3.767 GB, free: 174.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.6e-07/9.03, allocations: 3.938 kB / 3.767 GB, free: 174.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03251/9.062, allocations: 24.75 MB / 3.791 GB, free: 150.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