Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 390.5 MB / 398 MB, free: 10.96 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.001242/0.001242, allocations: 179 kB / 491.2 MB, free: 1.559 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.667/1.667, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001048/0.001048, allocations: 87.58 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.719e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2928, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.539, allocations: 1.983 GB / 3.195 GB, free: 357.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/5.539, allocations: 90.62 kB / 3.195 GB, free: 357.1 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 7.853/13.39, allocations: 2.114 GB / 5.309 GB, free: 2.074 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.374e-06/13.39, allocations: 4 kB / 5.309 GB, free: 2.07 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0004441/13.39, allocations: 75.92 kB / 5.309 GB, free: 1.996 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 1.246/14.64, allocations: 3.589 MB / 5.312 GB, free: 124.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/14.64, allocations: 9.781 kB / 5.312 GB, free: 124.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/14.65, allocations: 0.8374 MB / 5.313 GB, free: 124.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/14.66, allocations: 2.169 MB / 5.315 GB, free: 124.1 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/14.66, allocations: 93.83 kB / 5.315 GB, free: 124.1 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/14.66, allocations: 174 kB / 5.316 GB, free: 124.1 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009673/14.67, allocations: 2.695 MB / 5.318 GB, free: 124.1 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/14.68, allocations: 3.034 MB / 5.321 GB, free: 123.7 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/14.68, allocations: 4.875 kB / 5.321 GB, free: 123.7 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005254/14.68, allocations: 8.688 kB / 5.321 GB, free: 123.7 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/14.68, allocations: 128.7 kB / 5.321 GB, free: 123.7 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.02965/14.71, allocations: 14.15 MB / 5.335 GB, free: 115.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/14.72, allocations: 2.802 MB / 5.338 GB, free: 114.4 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/14.72, allocations: 1.246 MB / 5.339 GB, free: 114.4 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/14.72, allocations: 1.391 MB / 5.34 GB, free: 112.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003659/14.73, allocations: 1.161 MB / 5.342 GB, free: 112.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 6.312e-06/14.73, allocations: 1.344 kB / 5.342 GB, free: 112.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.008096/14.73, allocations: 2.21 MB / 5.344 GB, free: 112.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/14.73, allocations: 79.56 kB / 5.344 GB, free: 112.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/14.74, allocations: 0.9763 MB / 5.345 GB, free: 112.4 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004326/14.74, allocations: 29.36 kB / 5.345 GB, free: 112.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/14.74, allocations: 1.117 MB / 5.346 GB, free: 112 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/14.74, allocations: 0.7086 MB / 5.347 GB, free: 111.6 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/14.74, allocations: 0 / 5.347 GB, free: 111.6 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003175/14.74, allocations: 384.9 kB / 5.347 GB, free: 111.3 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/14.75, allocations: 0.8719 MB / 5.348 GB, free: 111.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002871/14.75, allocations: 1.262 MB / 5.349 GB, free: 110.9 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/14.75, allocations: 1.103 MB / 5.35 GB, free: 110.9 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-05/14.75, allocations: 2.969 kB / 5.35 GB, free: 110.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007626/14.76, allocations: 2.435 MB / 5.352 GB, free: 110.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/14.76, allocations: 36.41 kB / 5.353 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/14.76, allocations: 7.156 kB / 5.353 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.82e-05/14.76, allocations: 20.12 kB / 5.353 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/14.76, allocations: 469 kB / 5.353 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.973e-05/14.76, allocations: 24.02 kB / 5.353 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004549/14.77, allocations: 346.5 kB / 5.353 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/14.77, allocations: 85.33 kB / 5.353 GB, free: 110.6 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.0007644/14.77, allocations: 155.8 kB / 5.354 GB, free: 110.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/14.77, allocations: 200.6 kB / 5.354 GB, free: 110.4 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/14.78, allocations: 2.402 MB / 5.356 GB, free: 110.3 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/14.78, allocations: 19.81 kB / 5.356 GB, free: 110.3 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/14.78, allocations: 1.531 kB / 5.356 GB, free: 110.3 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003893/14.78, allocations: 2.266 MB / 5.358 GB, free: 109.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 postOpt removeSimpleEquations (simulation): time 0.01495/14.8, allocations: 5.531 MB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/14.8, allocations: 3.5 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/14.8, allocations: 481.8 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.536e-05/14.8, allocations: 9.969 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002545/14.8, allocations: 46.45 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-05/14.8, allocations: 10.75 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/14.8, allocations: 2.875 kB / 5.364 GB, free: 109.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/14.81, allocations: 3.75 MB / 5.368 GB, free: 108.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/14.81, allocations: 0.5328 MB / 5.368 GB, free: 108.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000905/14.81, allocations: 10.22 kB / 5.368 GB, free: 108.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/14.81, allocations: 214.4 kB / 5.369 GB, free: 108.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/14.81, allocations: 142 kB / 5.369 GB, free: 108.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/14.81, allocations: 78.28 kB / 5.369 GB, free: 108.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002069/14.82, allocations: 0.7358 MB / 5.37 GB, free: 108.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.51e-07/14.82, allocations: 0 / 5.37 GB, free: 108.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006654/14.82, allocations: 1.193 MB / 5.371 GB, free: 108.1 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.01135/14.83, allocations: 5.293 MB / 5.376 GB, free: 105.8 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005831/14.84, allocations: 2.234 MB / 5.378 GB, free: 105.7 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/14.84, allocations: 3.188 kB / 5.378 GB, free: 105.7 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/14.84, allocations: 1.165 MB / 5.379 GB, free: 105.7 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008871/14.85, allocations: 1.015 MB / 5.38 GB, free: 105.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/14.87, allocations: 4.856 MB / 5.385 GB, free: 104.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/14.87, allocations: 2.026 MB / 5.387 GB, free: 103.8 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004785/14.87, allocations: 0.7136 MB / 5.388 GB, free: 103.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/14.88, allocations: 206.3 kB / 5.388 GB, free: 103.8 MB / 1.214 GB Notification: Performance of SimCode: time 4.879e-06/14.88, allocations: 0 / 5.388 GB, free: 103.8 MB / 1.214 GB Notification: Performance of Templates: time 0.1158/14.99, allocations: 61.85 MB / 5.448 GB, free: 101.9 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches