Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.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_9_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_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001582/0.001582, allocations: 184.9 kB / 487.4 MB, free: 5.035 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.573/1.573, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.00106/0.00106, allocations: 103.8 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.314e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3617, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.571/6.933, allocations: 1.937 GB / 3.142 GB, free: 347.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.933, allocations: 87.11 kB / 3.143 GB, free: 347.6 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.026/10.96, allocations: 1.03 GB / 4.173 GB, free: 185.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.404e-06/10.96, allocations: 0 / 4.173 GB, free: 185.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004461/10.96, allocations: 63.34 kB / 4.173 GB, free: 185.5 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.01288/10.97, allocations: 2.63 MB / 4.176 GB, free: 183.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/10.97, allocations: 10.16 kB / 4.176 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/10.98, allocations: 0.6615 MB / 4.176 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005615/10.98, allocations: 1.619 MB / 4.178 GB, free: 181.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/10.98, allocations: 60 kB / 4.178 GB, free: 181.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/10.99, allocations: 119.8 kB / 4.178 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00605/10.99, allocations: 2.268 MB / 4.18 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/11, allocations: 2.019 MB / 4.182 GB, free: 177.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.481e-05/11, allocations: 6.641 kB / 4.182 GB, free: 177.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004485/11, allocations: 4 kB / 4.182 GB, free: 177.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/11, allocations: 88.27 kB / 4.182 GB, free: 177.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 preOpt removeSimpleEquations (simulation): time 0.01604/11.01, allocations: 7.679 MB / 4.19 GB, free: 169.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/11.02, allocations: 2.958 MB / 4.193 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/11.02, allocations: 1.218 MB / 4.194 GB, free: 164.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/11.02, allocations: 1.555 MB / 4.195 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/11.02, allocations: 67.19 kB / 4.195 GB, free: 162.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 5.1e-06/11.02, allocations: 0 / 4.195 GB, free: 162.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01495/11.04, allocations: 5.689 MB / 4.201 GB, free: 157 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/11.04, allocations: 150.6 kB / 4.201 GB, free: 156.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/11.04, allocations: 0.8713 MB / 4.202 GB, free: 156 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003994/11.04, allocations: 29.7 kB / 4.202 GB, free: 155.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/11.04, allocations: 0.76 MB / 4.203 GB, free: 155.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009665/11.04, allocations: 0.7427 MB / 4.203 GB, free: 154.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/11.04, allocations: 3.125 kB / 4.203 GB, free: 154.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001843/11.04, allocations: 381.9 kB / 4.204 GB, free: 154 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/11.04, allocations: 0.7654 MB / 4.205 GB, free: 153.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/11.04, allocations: 1.016 MB / 4.206 GB, free: 152.2 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.009381/11.05, allocations: 3.309 MB / 4.209 GB, free: 148.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/11.05, allocations: 0 / 4.209 GB, free: 148.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00456/11.06, allocations: 2.245 MB / 4.211 GB, free: 146.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/11.06, allocations: 4 kB / 4.211 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/11.06, allocations: 8 kB / 4.211 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.846e-05/11.06, allocations: 12 kB / 4.211 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/11.06, allocations: 427.4 kB / 4.211 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.985e-05/11.06, allocations: 19.89 kB / 4.211 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/11.06, allocations: 145.6 kB / 4.212 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002827/11.06, allocations: 75.98 kB / 4.212 GB, free: 146 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.0004935/11.06, allocations: 151.9 kB / 4.212 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/11.06, allocations: 185.8 kB / 4.212 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004658/11.07, allocations: 2.336 MB / 4.214 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/11.07, allocations: 24 kB / 4.214 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/11.07, allocations: 0 / 4.214 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003111/11.07, allocations: 1.983 MB / 4.216 GB, free: 141.3 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.01062/11.08, allocations: 5.358 MB / 4.221 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/11.08, allocations: 8 kB / 4.221 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/11.08, allocations: 462.4 kB / 4.222 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.576e-05/11.08, allocations: 16 kB / 4.222 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/11.08, allocations: 27.98 kB / 4.222 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/11.08, allocations: 16 kB / 4.222 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/11.08, allocations: 11.94 kB / 4.222 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/11.09, allocations: 4.215 MB / 4.226 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/11.09, allocations: 486.7 kB / 4.226 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005593/11.09, allocations: 24 kB / 4.227 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/11.1, allocations: 114 kB / 4.227 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/11.1, allocations: 149 kB / 4.227 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/11.1, allocations: 79.97 kB / 4.227 GB, free: 130 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009915/11.1, allocations: 0.6728 MB / 4.228 GB, free: 129.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/11.1, allocations: 3.094 kB / 4.228 GB, free: 129.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002969/11.1, allocations: 0.7733 MB / 4.228 GB, free: 128.6 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.003976/11.1, allocations: 2.842 MB / 4.231 GB, free: 126.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00271/11.11, allocations: 1.959 MB / 4.233 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/11.11, allocations: 4 kB / 4.233 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/11.11, allocations: 1.056 MB / 4.234 GB, free: 123.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/11.11, allocations: 0.97 MB / 4.235 GB, free: 122.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/11.12, allocations: 3.985 MB / 4.239 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/11.12, allocations: 1.697 MB / 4.24 GB, free: 116.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002542/11.12, allocations: 0.7255 MB / 4.241 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/11.12, allocations: 183.4 kB / 4.241 GB, free: 115.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.693e-06/11.12, allocations: 0 / 4.241 GB, free: 115.5 MB / 1.151 GB Notification: Performance of Templates: time 0.07068/11.19, allocations: 47.6 MB / 4.288 GB, free: 68.53 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches