Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.002133/0.002133, allocations: 181.8 kB / 498.1 MB, free: 5.742 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.779/1.779, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.001107/0.001107, allocations: 100.3 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004085, allocations: 9.875 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4399, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.116/5.556, allocations: 1.982 GB / 3.205 GB, free: 29.62 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/5.557, allocations: 93.56 kB / 3.205 GB, free: 29.53 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 8.587/14.14, allocations: 2.138 GB / 5.343 GB, free: 135.6 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.528e-06/14.14, allocations: 3.906 kB / 5.343 GB, free: 135.6 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0006872/14.14, allocations: 72 kB / 5.343 GB, free: 135.6 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.02657/14.17, allocations: 3.965 MB / 5.347 GB, free: 132.9 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 8.33e-05/14.17, allocations: 11.8 kB / 5.347 GB, free: 132.9 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009474/14.18, allocations: 0.8363 MB / 5.348 GB, free: 132.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/14.19, allocations: 2.189 MB / 5.35 GB, free: 130.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005023/14.19, allocations: 213.4 kB / 5.35 GB, free: 130.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/14.19, allocations: 289.4 kB / 5.351 GB, free: 130.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/14.21, allocations: 3.505 MB / 5.354 GB, free: 126.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/14.21, allocations: 3.938 kB / 5.354 GB, free: 126.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/14.21, allocations: 114.6 kB / 5.354 GB, free: 126.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/14.21, allocations: 136.1 kB / 5.354 GB, free: 126.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/14.22, allocations: 3.151 MB / 5.357 GB, free: 123.3 MB / 1.214 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.02097/14.24, allocations: 14.45 MB / 5.371 GB, free: 107.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/14.24, allocations: 2.321 MB / 5.374 GB, free: 105.5 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/14.24, allocations: 1.386 MB / 5.375 GB, free: 103.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/14.24, allocations: 1.21 MB / 5.376 GB, free: 102.6 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 4.559e-06/14.25, allocations: 0 / 5.376 GB, free: 102.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.005768/14.25, allocations: 3.152 MB / 5.379 GB, free: 99.43 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/14.25, allocations: 77.34 kB / 5.379 GB, free: 99.34 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/14.25, allocations: 1.271 MB / 5.381 GB, free: 98.07 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/14.25, allocations: 71.67 kB / 5.381 GB, free: 98 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/14.25, allocations: 1.117 MB / 5.382 GB, free: 96.87 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/14.26, allocations: 0.7245 MB / 5.382 GB, free: 96.15 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/14.26, allocations: 40 kB / 5.383 GB, free: 96.11 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001504/14.26, allocations: 385.9 kB / 5.383 GB, free: 95.73 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/14.26, allocations: 0.8976 MB / 5.384 GB, free: 94.83 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/14.26, allocations: 1.311 MB / 5.385 GB, free: 93.37 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/14.26, allocations: 1.122 MB / 5.386 GB, free: 92.26 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/14.26, allocations: 0 / 5.386 GB, free: 92.26 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004378/14.26, allocations: 2.587 MB / 5.389 GB, free: 89.66 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/14.26, allocations: 37.7 kB / 5.389 GB, free: 89.62 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/14.26, allocations: 11.88 kB / 5.389 GB, free: 89.61 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-05/14.26, allocations: 20 kB / 5.389 GB, free: 89.59 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/14.27, allocations: 447.4 kB / 5.389 GB, free: 89.15 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/14.27, allocations: 30.92 kB / 5.389 GB, free: 89.12 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/14.27, allocations: 408.3 kB / 5.39 GB, free: 88.75 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/14.27, allocations: 83.97 kB / 5.39 GB, free: 88.66 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001828/14.27, allocations: 0.6882 MB / 5.39 GB, free: 87.97 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/14.27, allocations: 213.5 kB / 5.391 GB, free: 87.76 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/14.28, allocations: 2.506 MB / 5.393 GB, free: 85.24 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/14.28, allocations: 23.98 kB / 5.393 GB, free: 85.22 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/14.28, allocations: 2.719 kB / 5.393 GB, free: 85.22 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002932/14.28, allocations: 2.325 MB / 5.395 GB, free: 82.83 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/14.29, allocations: 5.583 MB / 5.401 GB, free: 77.19 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/14.29, allocations: 4 kB / 5.401 GB, free: 77.19 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/14.29, allocations: 462.9 kB / 5.401 GB, free: 76.74 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.161e-05/14.29, allocations: 12 kB / 5.401 GB, free: 76.73 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/14.29, allocations: 59.97 kB / 5.401 GB, free: 76.67 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/14.29, allocations: 11.94 kB / 5.401 GB, free: 76.66 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/14.29, allocations: 4 kB / 5.401 GB, free: 76.65 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/14.3, allocations: 3.916 MB / 5.405 GB, free: 72.64 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/14.3, allocations: 0.5478 MB / 5.406 GB, free: 72.07 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/14.3, allocations: 44 kB / 5.406 GB, free: 72.03 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/14.3, allocations: 240.6 kB / 5.406 GB, free: 71.81 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/14.3, allocations: 144.7 kB / 5.406 GB, free: 71.67 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/14.3, allocations: 71.97 kB / 5.406 GB, free: 71.6 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001498/14.31, allocations: 0.9749 MB / 5.407 GB, free: 70.63 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.3e-07/14.31, allocations: 0 / 5.407 GB, free: 70.63 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004804/14.31, allocations: 1.376 MB / 5.408 GB, free: 69.25 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008173/14.32, allocations: 4.855 MB / 5.413 GB, free: 64.28 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005249/14.32, allocations: 2.317 MB / 5.415 GB, free: 61.95 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/14.32, allocations: 0 / 5.415 GB, free: 61.95 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/14.33, allocations: 1.196 MB / 5.417 GB, free: 60.76 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/14.33, allocations: 1.202 MB / 5.418 GB, free: 59.59 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/14.35, allocations: 7.033 MB / 5.425 GB, free: 52.56 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/14.35, allocations: 2.026 MB / 5.427 GB, free: 50.5 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003597/14.35, allocations: 0.727 MB / 5.427 GB, free: 49.79 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/14.35, allocations: 203.4 kB / 5.427 GB, free: 49.59 MB / 1.214 GB Notification: Performance of SimCode: time 1.833e-06/14.35, allocations: 0 / 5.427 GB, free: 49.59 MB / 1.214 GB Notification: Performance of Templates: time 1.161/15.51, allocations: 90.76 MB / 5.516 GB, free: 165.1 MB / 1.229 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches