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.351/2.351, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001257/0.001257, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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.584/1.584, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001019/0.001018, allocations: 99.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.934e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3847, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/7.004, allocations: 1.937 GB / 3.15 GB, free: 334.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/7.004, allocations: 87.64 kB / 3.15 GB, free: 334.1 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.867/10.87, allocations: 1.042 GB / 4.192 GB, free: 149.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.156e-06/10.87, allocations: 7.656 kB / 4.192 GB, free: 149.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001617/10.87, allocations: 55.98 kB / 4.192 GB, free: 149 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.008707/10.88, allocations: 2.629 MB / 4.194 GB, free: 146.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/10.88, allocations: 8.031 kB / 4.194 GB, free: 146.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/10.89, allocations: 0.6604 MB / 4.195 GB, free: 145.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/10.89, allocations: 1.613 MB / 4.196 GB, free: 144 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/10.89, allocations: 147.8 kB / 4.197 GB, free: 143.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/10.89, allocations: 199.9 kB / 4.197 GB, free: 143.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/10.89, allocations: 2.279 MB / 4.199 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/10.89, allocations: 3.984 kB / 4.199 GB, free: 141.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/10.89, allocations: 76 kB / 4.199 GB, free: 141.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.389e-05/10.89, allocations: 92.25 kB / 4.199 GB, free: 141.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/10.9, allocations: 2.453 MB / 4.201 GB, free: 138.7 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.01102/10.91, allocations: 7.871 MB / 4.209 GB, free: 130.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/10.91, allocations: 2.233 MB / 4.211 GB, free: 128.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/10.91, allocations: 1.302 MB / 4.213 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/10.92, allocations: 1.56 MB / 4.214 GB, free: 124.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/10.92, allocations: 60.39 kB / 4.214 GB, free: 124.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.248e-06/10.92, allocations: 2.844 kB / 4.214 GB, free: 124.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.009365/10.92, allocations: 5.307 MB / 4.219 GB, free: 119.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/10.92, allocations: 107.1 kB / 4.219 GB, free: 119.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/10.93, allocations: 1.041 MB / 4.221 GB, free: 118.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/10.93, allocations: 69.7 kB / 4.221 GB, free: 118.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/10.93, allocations: 0.7491 MB / 4.221 GB, free: 117.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/10.93, allocations: 0.7777 MB / 4.222 GB, free: 116.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/10.93, allocations: 40 kB / 4.222 GB, free: 116.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001314/10.93, allocations: 385.6 kB / 4.222 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/10.93, allocations: 0.8396 MB / 4.223 GB, free: 115.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/10.93, allocations: 1.086 MB / 4.224 GB, free: 114.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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05754/10.99, allocations: 9.661 MB / 4.234 GB, free: 104.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/10.99, allocations: 7.938 kB / 4.234 GB, free: 104.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003806/10.99, allocations: 2.337 MB / 4.236 GB, free: 102.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/10.99, allocations: 11.98 kB / 4.236 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/10.99, allocations: 8.031 kB / 4.236 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-05/10.99, allocations: 12 kB / 4.236 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/10.99, allocations: 419.5 kB / 4.237 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/10.99, allocations: 23.92 kB / 4.237 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/11, allocations: 175.6 kB / 4.237 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/11, allocations: 83.98 kB / 4.237 GB, free: 101.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.0003889/11, allocations: 219.3 kB / 4.237 GB, free: 101.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/11, allocations: 201.6 kB / 4.237 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/11, allocations: 2.494 MB / 4.24 GB, free: 98.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/11, allocations: 20 kB / 4.24 GB, free: 98.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/11, allocations: 4 kB / 4.24 GB, free: 98.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002418/11, allocations: 2.053 MB / 4.242 GB, free: 96.44 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007838/11.01, allocations: 5.297 MB / 4.247 GB, free: 91.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/11.01, allocations: 6.516 kB / 4.247 GB, free: 91.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/11.01, allocations: 455.4 kB / 4.247 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/11.01, allocations: 16 kB / 4.247 GB, free: 90.55 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/11.01, allocations: 55.98 kB / 4.247 GB, free: 90.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/11.01, allocations: 19.94 kB / 4.247 GB, free: 90.48 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/11.01, allocations: 8 kB / 4.247 GB, free: 90.47 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/11.02, allocations: 4.207 MB / 4.251 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/11.02, allocations: 0.4946 MB / 4.252 GB, free: 85.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/11.02, allocations: 47.98 kB / 4.252 GB, free: 85.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/11.02, allocations: 151.6 kB / 4.252 GB, free: 85.27 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/11.02, allocations: 149.5 kB / 4.252 GB, free: 85.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/11.02, allocations: 84.03 kB / 4.252 GB, free: 85.04 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001099/11.02, allocations: 0.8145 MB / 4.253 GB, free: 84.22 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.31e-07/11.02, allocations: 4 kB / 4.253 GB, free: 84.22 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002967/11.03, allocations: 0.9256 MB / 4.254 GB, free: 83.29 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.003574/11.03, allocations: 2.596 MB / 4.257 GB, free: 80.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003134/11.03, allocations: 2.133 MB / 4.259 GB, free: 78.38 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/11.03, allocations: 4 kB / 4.259 GB, free: 78.38 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/11.03, allocations: 1.141 MB / 4.26 GB, free: 77.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/11.04, allocations: 1.091 MB / 4.261 GB, free: 76.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/11.05, allocations: 4.142 MB / 4.265 GB, free: 71.91 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/11.05, allocations: 1.693 MB / 4.267 GB, free: 70.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002897/11.05, allocations: 0.7548 MB / 4.267 GB, free: 69.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/11.05, allocations: 183.4 kB / 4.267 GB, free: 69.25 MB / 1.151 GB Notification: Performance of SimCode: time 2.094e-06/11.05, allocations: 112 / 4.267 GB, free: 69.25 MB / 1.151 GB Notification: Performance of Templates: time 0.09225/11.14, allocations: 72.03 MB / 4.338 GB, free: 13.45 MB / 1.167 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