Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001415/0.001415, allocations: 180.9 kB / 487.4 MB, free: 5.059 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.778/1.778, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001033/0.001033, allocations: 98.25 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.157e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4312, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.504/6.935, allocations: 1.937 GB / 3.142 GB, free: 415.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/6.936, allocations: 87.94 kB / 3.143 GB, free: 415.7 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 3.986/10.92, allocations: 1.031 GB / 4.173 GB, free: 193.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.036e-06/10.92, allocations: 0 / 4.173 GB, free: 193.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003143/10.92, allocations: 63.25 kB / 4.173 GB, free: 193.4 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01097/10.93, allocations: 2.63 MB / 4.176 GB, free: 192.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/10.93, allocations: 13.12 kB / 4.176 GB, free: 192.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/10.94, allocations: 0.6606 MB / 4.177 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/10.94, allocations: 1.616 MB / 4.178 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/10.94, allocations: 59.25 kB / 4.178 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008981/10.95, allocations: 116.8 kB / 4.178 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005406/10.95, allocations: 2.271 MB / 4.181 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005365/10.96, allocations: 2.009 MB / 4.183 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/10.96, allocations: 10.56 kB / 4.183 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/10.96, allocations: 0 / 4.183 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/10.96, allocations: 89.39 kB / 4.183 GB, free: 191.8 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.0133/10.97, allocations: 7.512 MB / 4.19 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/10.97, allocations: 2.947 MB / 4.193 GB, free: 186.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/10.98, allocations: 1.21 MB / 4.194 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/10.98, allocations: 1.559 MB / 4.196 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/10.98, allocations: 67.08 kB / 4.196 GB, free: 183.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.887e-06/10.98, allocations: 4.812 kB / 4.196 GB, free: 183.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01298/10.99, allocations: 5.186 MB / 4.201 GB, free: 181.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/10.99, allocations: 103.3 kB / 4.201 GB, free: 181.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/10.99, allocations: 0.8804 MB / 4.202 GB, free: 181 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002786/10.99, allocations: 25.7 kB / 4.202 GB, free: 181 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007456/10.99, allocations: 0.7622 MB / 4.202 GB, free: 180.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008565/10.99, allocations: 0.7396 MB / 4.203 GB, free: 179.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/10.99, allocations: 0 / 4.203 GB, free: 179.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001326/10.99, allocations: 381.9 kB / 4.204 GB, free: 179.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/11, allocations: 0.7687 MB / 4.204 GB, free: 179.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/11, allocations: 1.007 MB / 4.205 GB, free: 178.7 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/11.01, allocations: 3.313 MB / 4.209 GB, free: 177.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/11.01, allocations: 3.594 kB / 4.209 GB, free: 177.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005457/11.01, allocations: 2.233 MB / 4.211 GB, free: 176.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/11.01, allocations: 6.625 kB / 4.211 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/11.01, allocations: 3.469 kB / 4.211 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.8e-05/11.01, allocations: 15.22 kB / 4.211 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/11.01, allocations: 428.9 kB / 4.211 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.847e-05/11.01, allocations: 14.28 kB / 4.211 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/11.02, allocations: 152.8 kB / 4.211 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/11.02, allocations: 71.64 kB / 4.211 GB, free: 176.5 MB / 1.151 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * 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.0004893/11.02, allocations: 152 kB / 4.212 GB, free: 176.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/11.02, allocations: 184.8 kB / 4.212 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/11.02, allocations: 2.352 MB / 4.214 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/11.02, allocations: 26.44 kB / 4.214 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/11.02, allocations: 3.938 kB / 4.214 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00345/11.03, allocations: 1.979 MB / 4.216 GB, free: 174.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 postOpt removeSimpleEquations (simulation): time 0.01095/11.04, allocations: 5.336 MB / 4.221 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/11.04, allocations: 5.688 kB / 4.221 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/11.04, allocations: 468.2 kB / 4.222 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-05/11.04, allocations: 14.97 kB / 4.222 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/11.04, allocations: 29.83 kB / 4.222 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/11.04, allocations: 20.75 kB / 4.222 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/11.04, allocations: 7.531 kB / 4.222 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/11.05, allocations: 4.038 MB / 4.226 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/11.05, allocations: 482.7 kB / 4.226 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006648/11.05, allocations: 12 kB / 4.226 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/11.05, allocations: 119.4 kB / 4.226 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/11.05, allocations: 151.4 kB / 4.226 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/11.05, allocations: 75.97 kB / 4.226 GB, free: 166.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001518/11.05, allocations: 0.6728 MB / 4.227 GB, free: 166.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/11.05, allocations: 0 / 4.227 GB, free: 166.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004127/11.06, allocations: 0.7768 MB / 4.228 GB, free: 165.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * 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.005682/11.06, allocations: 2.851 MB / 4.231 GB, free: 163 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003434/11.07, allocations: 1.969 MB / 4.233 GB, free: 161 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/11.07, allocations: 0 / 4.233 GB, free: 161 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/11.07, allocations: 1.052 MB / 4.234 GB, free: 160 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006129/11.08, allocations: 0.969 MB / 4.235 GB, free: 159.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008669/11.08, allocations: 3.98 MB / 4.238 GB, free: 155.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/11.09, allocations: 1.687 MB / 4.24 GB, free: 153.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003761/11.09, allocations: 0.7334 MB / 4.241 GB, free: 153 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/11.09, allocations: 179.4 kB / 4.241 GB, free: 152.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/11.09, allocations: 0 / 4.241 GB, free: 152.9 MB / 1.151 GB Notification: Performance of Templates: time 0.07754/11.17, allocations: 47.65 MB / 4.287 GB, free: 106.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches