Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.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_latest_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_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.5 MB / 398 MB, free: 10.95 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.001221/0.001222, allocations: 184.9 kB / 491.2 MB, free: 1.582 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.682/1.682, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001149/0.001149, allocations: 83.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.943e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3283, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.478/6.806, allocations: 1.937 GB / 3.15 GB, free: 391.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/6.806, allocations: 80.64 kB / 3.15 GB, free: 391.8 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.194/11, allocations: 1.031 GB / 4.181 GB, free: 186.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.635e-06/11, allocations: 0 / 4.181 GB, free: 186.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003336/11, allocations: 65.62 kB / 4.181 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.01077/11.01, allocations: 2.621 MB / 4.183 GB, free: 185.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/11.01, allocations: 6.844 kB / 4.183 GB, free: 185.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/11.02, allocations: 0.6652 MB / 4.184 GB, free: 184.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/11.02, allocations: 1.618 MB / 4.185 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/11.02, allocations: 63.66 kB / 4.185 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/11.02, allocations: 111.2 kB / 4.186 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005845/11.03, allocations: 2.273 MB / 4.188 GB, free: 182.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006484/11.04, allocations: 2.005 MB / 4.19 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.9e-05/11.04, allocations: 6.641 kB / 4.19 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/11.04, allocations: 3.781 kB / 4.19 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/11.04, allocations: 89 kB / 4.19 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.01424/11.05, allocations: 7.519 MB / 4.197 GB, free: 175.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003764/11.06, allocations: 2.949 MB / 4.2 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/11.06, allocations: 1.203 MB / 4.201 GB, free: 172.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/11.06, allocations: 1.557 MB / 4.203 GB, free: 171 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/11.06, allocations: 67.45 kB / 4.203 GB, free: 170.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.439e-06/11.06, allocations: 0 / 4.203 GB, free: 170.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01124/11.07, allocations: 5.191 MB / 4.208 GB, free: 165.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/11.07, allocations: 103.2 kB / 4.208 GB, free: 165.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/11.07, allocations: 0.8762 MB / 4.209 GB, free: 164.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/11.07, allocations: 29.7 kB / 4.209 GB, free: 164.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/11.07, allocations: 0.7655 MB / 4.21 GB, free: 163.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/11.07, allocations: 0.731 MB / 4.21 GB, free: 163.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/11.07, allocations: 3.938 kB / 4.21 GB, free: 163.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001322/11.07, allocations: 381.9 kB / 4.211 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/11.07, allocations: 0.7751 MB / 4.211 GB, free: 161.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/11.07, allocations: 1.01 MB / 4.212 GB, free: 160.9 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.008481/11.08, allocations: 3.305 MB / 4.216 GB, free: 157.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/11.08, allocations: 3.688 kB / 4.216 GB, free: 157.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003809/11.09, allocations: 2.238 MB / 4.218 GB, free: 155.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/11.09, allocations: 7.984 kB / 4.218 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/11.09, allocations: 4 kB / 4.218 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/11.09, allocations: 16 kB / 4.218 GB, free: 155.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/11.09, allocations: 427.3 kB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/11.09, allocations: 15.98 kB / 4.218 GB, free: 154.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/11.09, allocations: 150 kB / 4.218 GB, free: 154.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/11.09, allocations: 75.98 kB / 4.219 GB, free: 154.7 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.0003498/11.09, allocations: 140.5 kB / 4.219 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/11.09, allocations: 188.4 kB / 4.219 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/11.1, allocations: 2.346 MB / 4.221 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/11.1, allocations: 20 kB / 4.221 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/11.1, allocations: 15.7 kB / 4.221 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002824/11.1, allocations: 1.987 MB / 4.223 GB, free: 150 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.009565/11.11, allocations: 5.328 MB / 4.228 GB, free: 144.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/11.11, allocations: 8 kB / 4.228 GB, free: 144.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/11.11, allocations: 462.3 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.029e-05/11.11, allocations: 18.86 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/11.11, allocations: 23.98 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/11.11, allocations: 19.94 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/11.11, allocations: 6.844 kB / 4.229 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/11.12, allocations: 4.037 MB / 4.233 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/11.12, allocations: 485.4 kB / 4.233 GB, free: 139.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006704/11.12, allocations: 19.98 kB / 4.233 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/11.12, allocations: 108.5 kB / 4.233 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/11.12, allocations: 152.5 kB / 4.234 GB, free: 139 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/11.12, allocations: 79.98 kB / 4.234 GB, free: 138.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001567/11.12, allocations: 0.6723 MB / 4.234 GB, free: 138.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/11.12, allocations: 0 / 4.234 GB, free: 138.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003755/11.13, allocations: 0.7807 MB / 4.235 GB, free: 137.5 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.004879/11.13, allocations: 2.83 MB / 4.238 GB, free: 135 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00327/11.14, allocations: 1.966 MB / 4.24 GB, free: 133.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/11.14, allocations: 4 kB / 4.24 GB, free: 133.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/11.14, allocations: 1.048 MB / 4.241 GB, free: 132 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006304/11.14, allocations: 0.9725 MB / 4.242 GB, free: 131.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/11.15, allocations: 3.987 MB / 4.246 GB, free: 127.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/11.16, allocations: 1.693 MB / 4.247 GB, free: 125.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004428/11.16, allocations: 0.7365 MB / 4.248 GB, free: 124.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/11.16, allocations: 171.4 kB / 4.248 GB, free: 124.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.793e-06/11.16, allocations: 0 / 4.248 GB, free: 124.6 MB / 1.151 GB Notification: Performance of Templates: time 0.07566/11.24, allocations: 47.65 MB / 4.295 GB, free: 77.71 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches