Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 390.5 MB / 398 MB, free: 10.93 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.001062/0.001062, allocations: 195.4 kB / 491.2 MB, free: 1.551 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.713/1.713, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009132/0.0009129, allocations: 95.89 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.884e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3432, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.516/6.859, allocations: 1.937 GB / 3.15 GB, free: 391.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/6.859, allocations: 91.64 kB / 3.15 GB, free: 391.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 4.035/10.89, allocations: 1.03 GB / 4.18 GB, free: 186.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/10.89, allocations: 0 / 4.18 GB, free: 186.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003121/10.89, allocations: 59.56 kB / 4.18 GB, free: 186.8 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.0099/10.9, allocations: 2.627 MB / 4.183 GB, free: 185.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/10.9, allocations: 9.312 kB / 4.183 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/10.91, allocations: 0.6605 MB / 4.183 GB, free: 185 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/10.91, allocations: 1.616 MB / 4.185 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/10.91, allocations: 59.75 kB / 4.185 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/10.91, allocations: 118.4 kB / 4.185 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003892/10.92, allocations: 2.269 MB / 4.187 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/10.92, allocations: 2.016 MB / 4.189 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/10.92, allocations: 3.719 kB / 4.189 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/10.92, allocations: 0 / 4.189 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.503e-05/10.92, allocations: 90.08 kB / 4.189 GB, free: 181.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.01112/10.93, allocations: 7.684 MB / 4.197 GB, free: 175.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/10.94, allocations: 2.96 MB / 4.2 GB, free: 173.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/10.94, allocations: 1.214 MB / 4.201 GB, free: 173 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/10.94, allocations: 1.566 MB / 4.202 GB, free: 171.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/10.94, allocations: 56.44 kB / 4.203 GB, free: 171.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.098e-06/10.94, allocations: 0 / 4.203 GB, free: 171.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01252/10.95, allocations: 5.688 MB / 4.208 GB, free: 165.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/10.95, allocations: 157.3 kB / 4.208 GB, free: 165.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/10.95, allocations: 0.8693 MB / 4.209 GB, free: 164.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/10.95, allocations: 28.98 kB / 4.209 GB, free: 164.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/10.95, allocations: 0.7639 MB / 4.21 GB, free: 163.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/10.95, allocations: 0.7388 MB / 4.211 GB, free: 162.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/10.95, allocations: 2.734 kB / 4.211 GB, free: 162.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001757/10.95, allocations: 389 kB / 4.211 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009994/10.96, allocations: 0.7654 MB / 4.212 GB, free: 161.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/10.96, allocations: 1.013 MB / 4.213 GB, free: 160.4 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/10.97, allocations: 3.305 MB / 4.216 GB, free: 157.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/10.97, allocations: 3.984 kB / 4.216 GB, free: 157.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004166/10.97, allocations: 2.234 MB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/10.97, allocations: 11.94 kB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/10.97, allocations: 4 kB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.523e-05/10.97, allocations: 16 kB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/10.97, allocations: 429.3 kB / 4.219 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.316e-05/10.97, allocations: 15.94 kB / 4.219 GB, free: 154.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/10.97, allocations: 149.8 kB / 4.219 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/10.97, allocations: 75.98 kB / 4.219 GB, free: 154.2 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: 21 * 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.0004349/10.97, allocations: 140 kB / 4.219 GB, free: 154.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/10.98, allocations: 188.8 kB / 4.219 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/10.98, allocations: 2.338 MB / 4.221 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/10.98, allocations: 24 kB / 4.221 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/10.98, allocations: 3.953 kB / 4.221 GB, free: 151.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003272/10.98, allocations: 1.982 MB / 4.223 GB, free: 149.5 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.01031/10.99, allocations: 5.358 MB / 4.229 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/10.99, allocations: 4 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/11, allocations: 459.4 kB / 4.229 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.119e-05/11, allocations: 16 kB / 4.229 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/11, allocations: 31.98 kB / 4.229 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/11, allocations: 18.16 kB / 4.229 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/11, allocations: 16 kB / 4.229 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007491/11, allocations: 4.204 MB / 4.233 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/11.01, allocations: 486.7 kB / 4.234 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/11.01, allocations: 23.88 kB / 4.234 GB, free: 138.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/11.01, allocations: 113.3 kB / 4.234 GB, free: 138.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/11.01, allocations: 145.6 kB / 4.234 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/11.01, allocations: 87.81 kB / 4.234 GB, free: 138.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001395/11.01, allocations: 0.6709 MB / 4.235 GB, free: 137.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/11.01, allocations: 0 / 4.235 GB, free: 137.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004145/11.01, allocations: 0.7811 MB / 4.235 GB, free: 136.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,dooDis.mExcBA,dooDis.mExcAB) * 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.006553/11.02, allocations: 2.839 MB / 4.238 GB, free: 134.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004835/11.03, allocations: 1.965 MB / 4.24 GB, free: 132.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.66e-05/11.03, allocations: 6.875 kB / 4.24 GB, free: 132.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/11.03, allocations: 1.051 MB / 4.241 GB, free: 131.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007755/11.04, allocations: 0.9628 MB / 4.242 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/11.05, allocations: 3.99 MB / 4.246 GB, free: 126.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/11.05, allocations: 1.699 MB / 4.248 GB, free: 124.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004749/11.05, allocations: 0.7339 MB / 4.248 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/11.05, allocations: 179.4 kB / 4.249 GB, free: 123.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/11.05, allocations: 0 / 4.249 GB, free: 123.9 MB / 1.151 GB Notification: Performance of Templates: time 0.1017/11.16, allocations: 47.59 MB / 4.295 GB, free: 77.14 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches