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.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001192/0.001192, allocations: 177 kB / 498.1 MB, free: 5.688 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.521/1.521, allocations: 223.2 MB / 0.7949 GB, free: 17.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.0008883/0.0008883, allocations: 102.5 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004601, allocations: 14.36 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.689/5.017, allocations: 1.937 GB / 3.16 GB, free: 76.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/5.017, allocations: 96.75 kB / 3.16 GB, free: 75.97 MB / 1.167 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.735/9.752, allocations: 1.042 GB / 4.202 GB, free: 205 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.929e-06/9.753, allocations: 3.75 kB / 4.202 GB, free: 205 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005315/9.753, allocations: 62.44 kB / 4.202 GB, free: 205 MB / 1.167 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.01694/9.77, allocations: 2.956 MB / 4.205 GB, free: 204.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/9.77, allocations: 13.78 kB / 4.205 GB, free: 204.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005652/9.776, allocations: 0.6712 MB / 4.206 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/9.782, allocations: 1.619 MB / 4.208 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/9.782, allocations: 144.2 kB / 4.208 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000941/9.783, allocations: 202.2 kB / 4.208 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006836/9.79, allocations: 2.317 MB / 4.21 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/9.79, allocations: 6.984 kB / 4.21 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005175/9.79, allocations: 81.5 kB / 4.21 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/9.79, allocations: 90.44 kB / 4.21 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/9.795, allocations: 2.496 MB / 4.213 GB, free: 203.5 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0149/9.81, allocations: 8.026 MB / 4.221 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/9.814, allocations: 2.306 MB / 4.223 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/9.815, allocations: 1.561 MB / 4.224 GB, free: 198.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/9.815, allocations: 65.31 kB / 4.224 GB, free: 198.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.679e-06/9.815, allocations: 0 / 4.224 GB, free: 198.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.0153/9.83, allocations: 6.709 MB / 4.231 GB, free: 197 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/9.831, allocations: 155.5 kB / 4.231 GB, free: 196.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/9.833, allocations: 1.059 MB / 4.232 GB, free: 196.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005337/9.834, allocations: 68.7 kB / 4.232 GB, free: 196.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/9.835, allocations: 0.7542 MB / 4.233 GB, free: 196.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001246/9.836, allocations: 0.7706 MB / 4.234 GB, free: 196 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/9.836, allocations: 41.41 kB / 4.234 GB, free: 196 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002296/9.836, allocations: 384.7 kB / 4.234 GB, free: 195.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/9.838, allocations: 0.8492 MB / 4.235 GB, free: 195.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/9.84, allocations: 1.12 MB / 4.236 GB, free: 195.5 MB / 1.167 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.05555/9.895, allocations: 9.639 MB / 4.245 GB, free: 195.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/9.895, allocations: 3.375 kB / 4.245 GB, free: 195.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005239/9.901, allocations: 2.386 MB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/9.901, allocations: 10.84 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/9.901, allocations: 7.188 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/9.901, allocations: 14.69 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/9.903, allocations: 421.8 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/9.903, allocations: 18.5 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/9.905, allocations: 194.3 kB / 4.248 GB, free: 195.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/9.906, allocations: 71.77 kB / 4.249 GB, free: 195.1 MB / 1.167 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 () * Number of clocked 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.001357/9.907, allocations: 0.5708 MB / 4.249 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005884/9.908, allocations: 195.3 kB / 4.249 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/9.912, allocations: 2.509 MB / 4.252 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/9.912, allocations: 25.59 kB / 4.252 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/9.912, allocations: 3.75 kB / 4.252 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002804/9.915, allocations: 2.083 MB / 4.254 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/9.924, allocations: 5.298 MB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/9.924, allocations: 3.5 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/9.926, allocations: 466.3 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.651e-05/9.926, allocations: 14.56 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/9.926, allocations: 60.56 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/9.926, allocations: 18.09 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/9.926, allocations: 11.62 kB / 4.259 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/9.931, allocations: 4.424 MB / 4.264 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/9.933, allocations: 0.4999 MB / 4.264 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/9.934, allocations: 51.2 kB / 4.264 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/9.936, allocations: 148.9 kB / 4.264 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/9.936, allocations: 150.5 kB / 4.265 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/9.936, allocations: 74.78 kB / 4.265 GB, free: 192.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001266/9.937, allocations: 0.8329 MB / 4.266 GB, free: 192.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/9.937, allocations: 0 / 4.266 GB, free: 192.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003646/9.941, allocations: 0.92 MB / 4.266 GB, free: 192.3 MB / 1.167 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 () * Number of clocked 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.004112/9.945, allocations: 2.605 MB / 4.269 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003855/9.949, allocations: 2.171 MB / 4.271 GB, free: 191.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/9.949, allocations: 3.906 kB / 4.271 GB, free: 191.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/9.951, allocations: 1.157 MB / 4.272 GB, free: 191.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/9.956, allocations: 1.101 MB / 4.273 GB, free: 191.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/9.964, allocations: 5.779 MB / 4.279 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/9.966, allocations: 1.699 MB / 4.281 GB, free: 188.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003203/9.969, allocations: 0.7544 MB / 4.281 GB, free: 188.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/9.969, allocations: 175.6 kB / 4.282 GB, free: 188.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/9.97, allocations: 0 / 4.282 GB, free: 188.3 MB / 1.167 GB Notification: Performance of Templates: time 0.09922/10.07, allocations: 65.73 MB / 4.346 GB, free: 185.1 MB / 1.167 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