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.54/2.54, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001063/0.001063, allocations: 176.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001115/0.001115, allocations: 83.97 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.12e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3031, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.47, allocations: 1.983 GB / 3.202 GB, free: 307.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/5.47, allocations: 88.67 kB / 3.202 GB, free: 307.8 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.979/14.45, allocations: 2.136 GB / 5.338 GB, free: 138.4 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.166e-06/14.45, allocations: 0 / 5.338 GB, free: 138.4 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.0006154/14.45, allocations: 73.97 kB / 5.338 GB, free: 138.4 MB / 1.229 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.02358/14.47, allocations: 3.599 MB / 5.342 GB, free: 137.6 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/14.47, allocations: 11.56 kB / 5.342 GB, free: 137.6 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008002/14.48, allocations: 0.8351 MB / 5.342 GB, free: 137.4 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009177/14.49, allocations: 2.181 MB / 5.345 GB, free: 137.1 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/14.49, allocations: 212.7 kB / 5.345 GB, free: 137.1 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/14.49, allocations: 289.4 kB / 5.345 GB, free: 137.1 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/14.5, allocations: 3.417 MB / 5.348 GB, free: 136.7 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.507e-05/14.5, allocations: 8.594 kB / 5.348 GB, free: 136.7 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/14.5, allocations: 114.1 kB / 5.348 GB, free: 136.7 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/14.5, allocations: 130.8 kB / 5.349 GB, free: 136.7 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006245/14.51, allocations: 3.032 MB / 5.352 GB, free: 136.7 MB / 1.229 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.02459/14.54, allocations: 14.47 MB / 5.366 GB, free: 128.2 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/14.54, allocations: 2.239 MB / 5.368 GB, free: 127.8 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/14.54, allocations: 1.291 MB / 5.369 GB, free: 127.8 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/14.54, allocations: 1.39 MB / 5.371 GB, free: 126.3 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/14.54, allocations: 1.167 MB / 5.372 GB, free: 126.2 MB / 1.229 GB Notification: Performance of pre-optimization done (n=213): time 6.943e-06/14.54, allocations: 0 / 5.372 GB, free: 126.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=213): time 0.004516/14.55, allocations: 2.195 MB / 5.374 GB, free: 126 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/14.55, allocations: 72.44 kB / 5.374 GB, free: 126 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/14.55, allocations: 1.246 MB / 5.375 GB, free: 125.8 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/14.55, allocations: 75.11 kB / 5.375 GB, free: 125.8 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/14.55, allocations: 1.118 MB / 5.376 GB, free: 125.4 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/14.55, allocations: 0.7371 MB / 5.377 GB, free: 125 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/14.55, allocations: 43.06 kB / 5.377 GB, free: 125 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0002107/14.55, allocations: 385.5 kB / 5.377 GB, free: 124.7 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/14.55, allocations: 0.8536 MB / 5.378 GB, free: 124.7 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/14.56, allocations: 1.277 MB / 5.379 GB, free: 124.3 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/14.56, allocations: 1.082 MB / 5.381 GB, free: 124.3 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/14.56, allocations: 3.875 kB / 5.381 GB, free: 124.3 MB / 1.229 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004118/14.56, allocations: 2.502 MB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/14.56, allocations: 37.36 kB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/14.56, allocations: 8.219 kB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/14.56, allocations: 16.53 kB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/14.56, allocations: 459.4 kB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/14.56, allocations: 25.02 kB / 5.383 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/14.57, allocations: 401.8 kB / 5.384 GB, free: 124 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/14.57, allocations: 85.08 kB / 5.384 GB, free: 124 MB / 1.229 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.0004408/14.57, allocations: 218.9 kB / 5.384 GB, free: 123.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/14.57, allocations: 213.9 kB / 5.384 GB, free: 123.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/14.57, allocations: 2.445 MB / 5.387 GB, free: 123.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/14.57, allocations: 23.16 kB / 5.387 GB, free: 123.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/14.57, allocations: 0 / 5.387 GB, free: 123.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00294/14.58, allocations: 2.252 MB / 5.389 GB, free: 123.2 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/14.59, allocations: 5.508 MB / 5.394 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/14.59, allocations: 3.188 kB / 5.394 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/14.59, allocations: 464.2 kB / 5.395 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/14.59, allocations: 10 kB / 5.395 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/14.59, allocations: 56.19 kB / 5.395 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/14.59, allocations: 14.25 kB / 5.395 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/14.59, allocations: 3.781 kB / 5.395 GB, free: 122.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/14.59, allocations: 3.802 MB / 5.399 GB, free: 122 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/14.6, allocations: 0.5474 MB / 5.399 GB, free: 121.8 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/14.6, allocations: 44.06 kB / 5.399 GB, free: 121.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/14.6, allocations: 248.4 kB / 5.399 GB, free: 121.8 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/14.6, allocations: 139.8 kB / 5.4 GB, free: 121.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/14.6, allocations: 69.2 kB / 5.4 GB, free: 121.8 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.001679/14.6, allocations: 0.9644 MB / 5.401 GB, free: 121.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.6e-07/14.6, allocations: 0 / 5.401 GB, free: 121.7 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.005783/14.61, allocations: 1.368 MB / 5.402 GB, free: 121.6 MB / 1.229 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.01089/14.62, allocations: 4.869 MB / 5.407 GB, free: 119.2 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.006204/14.62, allocations: 2.235 MB / 5.409 GB, free: 119.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/14.62, allocations: 0 / 5.409 GB, free: 119.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/14.63, allocations: 1.157 MB / 5.41 GB, free: 119.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009746/14.64, allocations: 1.195 MB / 5.411 GB, free: 119.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/14.65, allocations: 4.902 MB / 5.416 GB, free: 118 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/14.65, allocations: 2.027 MB / 5.418 GB, free: 117.3 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.004875/14.66, allocations: 0.7252 MB / 5.419 GB, free: 117.3 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/14.66, allocations: 201.6 kB / 5.419 GB, free: 117.3 MB / 1.229 GB Notification: Performance of SimCode: time 3.427e-06/14.66, allocations: 0 / 5.419 GB, free: 117.3 MB / 1.229 GB Notification: Performance of Templates: time 0.1564/14.82, allocations: 101 MB / 5.517 GB, free: 113.5 MB / 1.229 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