Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.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_latest_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_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001153/0.001153, allocations: 186.9 kB / 0.4902 GB, free: 2.234 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.624/1.624, allocations: 223.2 MB / 0.7992 GB, free: 15.7 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.0009479/0.0009483, allocations: 105.8 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006315, allocations: 8.516 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.328, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.479/5.807, allocations: 1.938 GB / 3.167 GB, free: 333.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.807, allocations: 90.53 kB / 3.167 GB, free: 333.6 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.003/9.81, allocations: 1.042 GB / 4.209 GB, free: 201.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.425e-06/9.81, allocations: 0 / 4.209 GB, free: 201.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003258/9.81, allocations: 58.11 kB / 4.21 GB, free: 201.5 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.01259/9.823, allocations: 2.966 MB / 4.212 GB, free: 200.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/9.823, allocations: 11.11 kB / 4.212 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/9.829, allocations: 0.6694 MB / 4.213 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/9.835, allocations: 1.625 MB / 4.215 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/9.835, allocations: 145.8 kB / 4.215 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/9.836, allocations: 201.3 kB / 4.215 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007623/9.844, allocations: 2.321 MB / 4.217 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/9.844, allocations: 0 / 4.217 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008153/9.845, allocations: 77.91 kB / 4.217 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/9.845, allocations: 92.11 kB / 4.217 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/9.852, allocations: 2.506 MB / 4.22 GB, free: 199.8 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.01858/9.87, allocations: 8.018 MB / 4.228 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/9.874, allocations: 2.301 MB / 4.23 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/9.876, allocations: 1.562 MB / 4.232 GB, free: 194.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.869e-05/9.876, allocations: 62.16 kB / 4.232 GB, free: 194.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.799e-06/9.876, allocations: 3.906 kB / 4.232 GB, free: 194.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01519/9.891, allocations: 6.706 MB / 4.238 GB, free: 193.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/9.891, allocations: 153.4 kB / 4.238 GB, free: 193.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/9.893, allocations: 1.064 MB / 4.239 GB, free: 192.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/9.893, allocations: 68.55 kB / 4.239 GB, free: 192.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/9.894, allocations: 0.7596 MB / 4.24 GB, free: 192.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008832/9.895, allocations: 0.7646 MB / 4.241 GB, free: 192.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/9.895, allocations: 44.12 kB / 4.241 GB, free: 192.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001584/9.895, allocations: 386.3 kB / 4.241 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/9.897, allocations: 0.8503 MB / 4.242 GB, free: 191.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/9.898, allocations: 1.118 MB / 4.243 GB, free: 191.6 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.05783/9.956, allocations: 9.647 MB / 4.253 GB, free: 191.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/9.956, allocations: 0 / 4.253 GB, free: 191.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005665/9.962, allocations: 2.38 MB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/9.962, allocations: 9.938 kB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/9.962, allocations: 6.219 kB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-05/9.962, allocations: 15.62 kB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/9.964, allocations: 421.1 kB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.389e-05/9.964, allocations: 17.72 kB / 4.255 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/9.967, allocations: 187.8 kB / 4.256 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/9.967, allocations: 82.62 kB / 4.256 GB, free: 191.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.001684/9.969, allocations: 0.5539 MB / 4.256 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007083/9.97, allocations: 192.3 kB / 4.256 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/9.974, allocations: 2.51 MB / 4.259 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/9.974, allocations: 25.75 kB / 4.259 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/9.974, allocations: 0 / 4.259 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/9.977, allocations: 2.082 MB / 4.261 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/9.987, allocations: 5.305 MB / 4.266 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/9.987, allocations: 7.281 kB / 4.266 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/9.989, allocations: 461.4 kB / 4.267 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.41e-05/9.989, allocations: 15.56 kB / 4.267 GB, free: 189 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/9.989, allocations: 58.34 kB / 4.267 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/9.989, allocations: 19.31 kB / 4.267 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/9.989, allocations: 14.11 kB / 4.267 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/9.996, allocations: 4.429 MB / 4.271 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/9.998, allocations: 0.495 MB / 4.271 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000358/9.998, allocations: 55.28 kB / 4.271 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/10, allocations: 146.1 kB / 4.272 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/10, allocations: 152.3 kB / 4.272 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/10, allocations: 83.22 kB / 4.272 GB, free: 186 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001373/10, allocations: 0.8365 MB / 4.273 GB, free: 185.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/10, allocations: 0 / 4.273 GB, free: 185.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003666/10.01, allocations: 0.9276 MB / 4.274 GB, free: 185.5 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.004953/10.01, allocations: 2.587 MB / 4.276 GB, free: 184.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003923/10.01, allocations: 2.171 MB / 4.278 GB, free: 182.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/10.01, allocations: 7.859 kB / 4.278 GB, free: 182.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/10.02, allocations: 1.153 MB / 4.279 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/10.02, allocations: 1.103 MB / 4.28 GB, free: 180.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008844/10.03, allocations: 5.782 MB / 4.286 GB, free: 175.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/10.03, allocations: 1.7 MB / 4.288 GB, free: 174.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003368/10.04, allocations: 0.7566 MB / 4.288 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/10.04, allocations: 175.1 kB / 4.289 GB, free: 173.6 MB / 1.167 GB Notification: Performance of SimCode: time 3.336e-06/10.04, allocations: 0 / 4.289 GB, free: 173.6 MB / 1.167 GB Notification: Performance of Templates: time 0.09712/10.13, allocations: 65.73 MB / 4.353 GB, free: 112.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches