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.407/2.407, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001309/0.001309, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.84 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.715e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3185, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/5.935, allocations: 1.982 GB / 3.188 GB, free: 368.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/5.936, allocations: 87.95 kB / 3.188 GB, free: 368.4 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 8.259/14.19, allocations: 2.114 GB / 5.302 GB, free: 8.547 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.456e-06/14.19, allocations: 0 / 5.302 GB, free: 8.547 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0005283/14.2, allocations: 87.86 kB / 5.302 GB, free: 8.461 MB / 1.198 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.01895/14.21, allocations: 3.589 MB / 5.305 GB, free: 4.805 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/14.21, allocations: 12.02 kB / 5.305 GB, free: 4.793 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008298/14.22, allocations: 0.8313 MB / 5.306 GB, free: 3.957 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009313/14.23, allocations: 2.19 MB / 5.308 GB, free: 1.711 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/14.23, allocations: 88 kB / 5.308 GB, free: 1.625 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/14.23, allocations: 168 kB / 5.308 GB, free: 1.461 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009068/14.24, allocations: 2.697 MB / 5.311 GB, free: 14.76 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/14.26, allocations: 3.033 MB / 5.314 GB, free: 11.59 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/14.26, allocations: 11.84 kB / 5.314 GB, free: 11.58 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/14.26, allocations: 4 kB / 5.314 GB, free: 11.58 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/14.26, allocations: 125.3 kB / 5.314 GB, free: 11.45 MB / 1.214 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 1.258/15.52, allocations: 14.15 MB / 5.328 GB, free: 125.9 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/15.52, allocations: 2.794 MB / 5.331 GB, free: 124.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/15.52, allocations: 1.247 MB / 5.332 GB, free: 124.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/15.52, allocations: 1.39 MB / 5.333 GB, free: 123.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/15.53, allocations: 1.166 MB / 5.334 GB, free: 123.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 7.834e-06/15.53, allocations: 0 / 5.334 GB, free: 123.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.005454/15.53, allocations: 2.213 MB / 5.337 GB, free: 123.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/15.53, allocations: 77.5 kB / 5.337 GB, free: 123.2 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/15.53, allocations: 0.9748 MB / 5.338 GB, free: 123 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/15.54, allocations: 28.14 kB / 5.338 GB, free: 123 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/15.54, allocations: 1.116 MB / 5.339 GB, free: 122.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.000906/15.54, allocations: 0.7042 MB / 5.339 GB, free: 122.3 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/15.54, allocations: 0.8125 kB / 5.339 GB, free: 122.3 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001745/15.54, allocations: 386.9 kB / 5.34 GB, free: 122 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/15.54, allocations: 0.8722 MB / 5.341 GB, free: 122 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/15.54, allocations: 1.26 MB / 5.342 GB, free: 121.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/15.54, allocations: 1.098 MB / 5.343 GB, free: 121.6 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/15.54, allocations: 2.031 kB / 5.343 GB, free: 121.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005699/15.55, allocations: 2.434 MB / 5.345 GB, free: 121.4 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/15.55, allocations: 44.72 kB / 5.345 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/15.55, allocations: 11.52 kB / 5.345 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.538e-05/15.55, allocations: 18.62 kB / 5.345 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/15.55, allocations: 465.4 kB / 5.346 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.963e-05/15.55, allocations: 22.98 kB / 5.346 GB, free: 121.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/15.56, allocations: 344.8 kB / 5.346 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/15.56, allocations: 86.95 kB / 5.346 GB, free: 121.3 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 () * 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.0005248/15.56, allocations: 144.9 kB / 5.346 GB, free: 121.2 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/15.56, allocations: 199.8 kB / 5.347 GB, free: 121.1 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/15.56, allocations: 2.404 MB / 5.349 GB, free: 121 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/15.56, allocations: 21.48 kB / 5.349 GB, free: 121 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/15.56, allocations: 0 / 5.349 GB, free: 121 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003325/15.57, allocations: 2.269 MB / 5.351 GB, free: 120.6 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.01176/15.58, allocations: 5.529 MB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/15.58, allocations: 0 / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/15.58, allocations: 481.8 kB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/15.58, allocations: 15.16 kB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/15.58, allocations: 37.73 kB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/15.58, allocations: 9.75 kB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/15.58, allocations: 3.344 kB / 5.357 GB, free: 119.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/15.59, allocations: 3.746 MB / 5.361 GB, free: 119.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/15.59, allocations: 0.5323 MB / 5.361 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/15.59, allocations: 14.03 kB / 5.361 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/15.59, allocations: 213.6 kB / 5.362 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/15.59, allocations: 140.5 kB / 5.362 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/15.59, allocations: 78.64 kB / 5.362 GB, free: 119 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001282/15.59, allocations: 0.7377 MB / 5.362 GB, free: 118.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.6e-07/15.59, allocations: 1.438 kB / 5.362 GB, free: 118.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004655/15.6, allocations: 1.193 MB / 5.364 GB, free: 118.8 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) * 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.009263/15.61, allocations: 5.301 MB / 5.369 GB, free: 116.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.004956/15.61, allocations: 2.242 MB / 5.371 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/15.61, allocations: 1.188 kB / 5.371 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/15.61, allocations: 1.164 MB / 5.372 GB, free: 116.4 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007766/15.62, allocations: 1.015 MB / 5.373 GB, free: 116.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/15.64, allocations: 4.847 MB / 5.378 GB, free: 115.3 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/15.64, allocations: 2.029 MB / 5.38 GB, free: 114.5 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004477/15.64, allocations: 0.7168 MB / 5.381 GB, free: 114.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009551/15.64, allocations: 207.5 kB / 5.381 GB, free: 114.5 MB / 1.214 GB Notification: Performance of SimCode: time 1.453e-06/15.64, allocations: 0 / 5.381 GB, free: 114.5 MB / 1.214 GB Notification: Performance of Templates: time 0.1185/15.76, allocations: 61.86 MB / 5.441 GB, free: 112.6 MB / 1.214 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