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.417/2.417, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001097/0.001097, allocations: 176.9 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.484/1.484, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.001047/0.001047, allocations: 94.28 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.814e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3383, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/5.739, allocations: 1.982 GB / 3.195 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/5.739, allocations: 88.48 kB / 3.195 GB, free: 357.9 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 9.175/14.91, allocations: 2.136 GB / 5.331 GB, free: 124.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.904e-06/14.91, allocations: 1.312 kB / 5.331 GB, free: 124.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0003418/14.92, allocations: 75.38 kB / 5.331 GB, free: 124.4 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.01852/14.93, allocations: 3.599 MB / 5.334 GB, free: 123.8 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/14.93, allocations: 8.594 kB / 5.334 GB, free: 123.8 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008074/14.94, allocations: 0.8348 MB / 5.335 GB, free: 123.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/14.95, allocations: 2.176 MB / 5.337 GB, free: 123.3 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/14.95, allocations: 219.2 kB / 5.338 GB, free: 123.3 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/14.95, allocations: 281.6 kB / 5.338 GB, free: 123.3 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/14.97, allocations: 3.42 MB / 5.341 GB, free: 122.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000225/14.97, allocations: 6.938 kB / 5.341 GB, free: 122.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/14.97, allocations: 116.3 kB / 5.341 GB, free: 122.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/14.97, allocations: 125.8 kB / 5.341 GB, free: 122.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009281/14.98, allocations: 3.043 MB / 5.344 GB, free: 122.9 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 0.0255/15.01, allocations: 14.47 MB / 5.359 GB, free: 114.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/15.01, allocations: 2.239 MB / 5.361 GB, free: 114 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/15.01, allocations: 1.291 MB / 5.362 GB, free: 114 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/15.01, allocations: 1.384 MB / 5.363 GB, free: 112.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002407/15.02, allocations: 1.168 MB / 5.364 GB, free: 112.4 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 5.2e-06/15.02, allocations: 5.969 kB / 5.364 GB, free: 112.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.005671/15.02, allocations: 2.192 MB / 5.367 GB, free: 112.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/15.02, allocations: 78.19 kB / 5.367 GB, free: 112.2 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/15.02, allocations: 1.255 MB / 5.368 GB, free: 112 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.000373/15.03, allocations: 64.39 kB / 5.368 GB, free: 112 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/15.03, allocations: 1.11 MB / 5.369 GB, free: 111.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/15.03, allocations: 0.7344 MB / 5.37 GB, free: 111.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/15.03, allocations: 45.47 kB / 5.37 GB, free: 111.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002853/15.03, allocations: 387.6 kB / 5.37 GB, free: 110.9 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/15.03, allocations: 0.8567 MB / 5.371 GB, free: 110.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/15.03, allocations: 1.267 MB / 5.372 GB, free: 110.5 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/15.04, allocations: 1.086 MB / 5.373 GB, free: 110.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/15.04, allocations: 2.062 kB / 5.373 GB, free: 110.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007113/15.04, allocations: 2.507 MB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/15.04, allocations: 36.89 kB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/15.04, allocations: 7.062 kB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.592e-05/15.04, allocations: 17.62 kB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/15.05, allocations: 450.6 kB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001011/15.05, allocations: 28.19 kB / 5.376 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00477/15.05, allocations: 407 kB / 5.377 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/15.05, allocations: 88.66 kB / 5.377 GB, free: 110.2 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.0008906/15.05, allocations: 226 kB / 5.377 GB, free: 110.1 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/15.05, allocations: 217.3 kB / 5.377 GB, free: 109.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008323/15.06, allocations: 2.441 MB / 5.38 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/15.06, allocations: 18.53 kB / 5.38 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/15.06, allocations: 0 / 5.38 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005117/15.07, allocations: 2.243 MB / 5.382 GB, free: 109.4 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/15.08, allocations: 5.514 MB / 5.387 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/15.08, allocations: 3.625 kB / 5.387 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/15.08, allocations: 461 kB / 5.388 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.051e-05/15.08, allocations: 9.562 kB / 5.388 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/15.08, allocations: 57.16 kB / 5.388 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.958e-05/15.08, allocations: 18.59 kB / 5.388 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/15.08, allocations: 0 / 5.388 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00677/15.09, allocations: 3.803 MB / 5.391 GB, free: 108.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/15.09, allocations: 0.5435 MB / 5.392 GB, free: 108 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009722/15.09, allocations: 49.52 kB / 5.392 GB, free: 108 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/15.1, allocations: 249.7 kB / 5.392 GB, free: 108 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/15.1, allocations: 137.3 kB / 5.392 GB, free: 108 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/15.1, allocations: 73.19 kB / 5.392 GB, free: 108 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002371/15.1, allocations: 0.9603 MB / 5.393 GB, free: 107.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.21e-07/15.1, allocations: 0 / 5.393 GB, free: 107.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006521/15.11, allocations: 1.369 MB / 5.395 GB, free: 107.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.00944/15.12, allocations: 4.872 MB / 5.399 GB, free: 105.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.00546/15.12, allocations: 2.235 MB / 5.402 GB, free: 105.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/15.12, allocations: 6.438 kB / 5.402 GB, free: 105.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/15.13, allocations: 1.154 MB / 5.403 GB, free: 105.3 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008131/15.13, allocations: 1.205 MB / 5.404 GB, free: 105.3 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/15.15, allocations: 4.911 MB / 5.409 GB, free: 104.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003017/15.15, allocations: 2.024 MB / 5.411 GB, free: 103.5 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004744/15.15, allocations: 0.7261 MB / 5.411 GB, free: 103.4 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/15.16, allocations: 201.2 kB / 5.412 GB, free: 103.4 MB / 1.214 GB Notification: Performance of SimCode: time 1.613e-06/15.16, allocations: 0 / 5.412 GB, free: 103.4 MB / 1.214 GB Notification: Performance of Templates: time 0.1579/15.31, allocations: 101 MB / 5.51 GB, free: 99.76 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