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.346/2.346, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001049/0.001049, allocations: 176.1 kB / 492.3 MB, free: 0.625 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.629/1.629, allocations: 221.3 MB / 0.7872 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.0008807/0.0008807, allocations: 83.97 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.045e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.765, allocations: 1.937 GB / 3.15 GB, free: 392.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/6.766, allocations: 86.77 kB / 3.15 GB, free: 392.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 3.825/10.59, allocations: 1.041 GB / 4.191 GB, free: 182.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.653e-06/10.59, allocations: 3.5 kB / 4.191 GB, free: 182.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002399/10.59, allocations: 57.77 kB / 4.191 GB, free: 182.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.009582/10.6, allocations: 2.625 MB / 4.194 GB, free: 181.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/10.6, allocations: 10.97 kB / 4.194 GB, free: 181.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005689/10.61, allocations: 0.6683 MB / 4.194 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/10.61, allocations: 1.612 MB / 4.196 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/10.61, allocations: 147 kB / 4.196 GB, free: 179.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/10.61, allocations: 201.7 kB / 4.196 GB, free: 179.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/10.61, allocations: 2.29 MB / 4.198 GB, free: 178.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/10.61, allocations: 0 / 4.198 GB, free: 178.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/10.62, allocations: 82.61 kB / 4.198 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/10.62, allocations: 85.91 kB / 4.199 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/10.62, allocations: 2.454 MB / 4.201 GB, free: 176.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.01186/10.63, allocations: 8.035 MB / 4.209 GB, free: 168.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/10.63, allocations: 2.259 MB / 4.211 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/10.64, allocations: 1.304 MB / 4.212 GB, free: 164.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/10.64, allocations: 1.566 MB / 4.214 GB, free: 162.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/10.64, allocations: 64.36 kB / 4.214 GB, free: 162.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.479e-06/10.64, allocations: 0 / 4.214 GB, free: 162.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01009/10.65, allocations: 5.803 MB / 4.22 GB, free: 156.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/10.65, allocations: 158.5 kB / 4.22 GB, free: 156.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/10.65, allocations: 1.04 MB / 4.221 GB, free: 155.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/10.65, allocations: 65.7 kB / 4.221 GB, free: 155.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/10.65, allocations: 0.7625 MB / 4.222 GB, free: 154.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/10.65, allocations: 0.7686 MB / 4.222 GB, free: 154 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/10.65, allocations: 40 kB / 4.222 GB, free: 154 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001096/10.65, allocations: 381.9 kB / 4.223 GB, free: 153.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/10.65, allocations: 0.8396 MB / 4.224 GB, free: 152.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/10.65, allocations: 1.098 MB / 4.225 GB, free: 151.6 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.05442/10.71, allocations: 9.649 MB / 4.234 GB, free: 142.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/10.71, allocations: 7.5 kB / 4.234 GB, free: 142.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003785/10.71, allocations: 2.349 MB / 4.236 GB, free: 139.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/10.71, allocations: 8 kB / 4.236 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/10.71, allocations: 4 kB / 4.236 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/10.71, allocations: 19.95 kB / 4.236 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/10.71, allocations: 427.4 kB / 4.237 GB, free: 139.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/10.71, allocations: 12 kB / 4.237 GB, free: 139.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/10.71, allocations: 183.6 kB / 4.237 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.71, allocations: 75.98 kB / 4.237 GB, free: 139.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.0003727/10.72, allocations: 224.5 kB / 4.237 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/10.72, allocations: 197.7 kB / 4.237 GB, free: 138.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/10.72, allocations: 2.479 MB / 4.24 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/10.72, allocations: 24 kB / 4.24 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/10.72, allocations: 3.953 kB / 4.24 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002468/10.72, allocations: 2.053 MB / 4.242 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/10.73, allocations: 5.301 MB / 4.247 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/10.73, allocations: 16.02 kB / 4.247 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/10.73, allocations: 459.4 kB / 4.247 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/10.73, allocations: 16 kB / 4.247 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/10.73, allocations: 60.33 kB / 4.248 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/10.73, allocations: 27.92 kB / 4.248 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/10.73, allocations: 7.938 kB / 4.248 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004665/10.74, allocations: 4.366 MB / 4.252 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/10.74, allocations: 0.4985 MB / 4.252 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/10.74, allocations: 52 kB / 4.252 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/10.74, allocations: 150.9 kB / 4.253 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/10.74, allocations: 157.5 kB / 4.253 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/10.74, allocations: 79.97 kB / 4.253 GB, free: 122.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001123/10.74, allocations: 0.8106 MB / 4.254 GB, free: 121.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/10.74, allocations: 0 / 4.254 GB, free: 121.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003123/10.74, allocations: 0.9334 MB / 4.254 GB, free: 120.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.003614/10.75, allocations: 2.585 MB / 4.257 GB, free: 118.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003262/10.75, allocations: 2.138 MB / 4.259 GB, free: 116.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/10.75, allocations: 4 kB / 4.259 GB, free: 116.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/10.75, allocations: 1.137 MB / 4.26 GB, free: 115.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/10.76, allocations: 1.104 MB / 4.261 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/10.76, allocations: 4.145 MB / 4.265 GB, free: 109.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009495/10.77, allocations: 1.694 MB / 4.267 GB, free: 108.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002915/10.77, allocations: 0.7528 MB / 4.268 GB, free: 107.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/10.77, allocations: 179.4 kB / 4.268 GB, free: 107.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/10.77, allocations: 3.391 kB / 4.268 GB, free: 107.2 MB / 1.151 GB Notification: Performance of Templates: time 0.09004/10.86, allocations: 71.97 MB / 4.338 GB, free: 35.94 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