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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 105.1 kB / 16.27 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 191.8 kB / 17.2 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 76.52 kB / 0.9245 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3972/1.59, allocations: 294.3 MB / 1.37 GB, free: 7.562 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03646/1.627, allocations: 23.07 MB / 1.393 GB, free: 444 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/1.632, allocations: 79.62 kB / 1.393 GB, free: 364 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006222/1.638, allocations: 1.791 MB / 1.395 GB, free: 14.55 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01858/1.657, allocations: 6.122 MB / 1.401 GB, free: 8.402 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009647/1.666, allocations: 2.879 MB / 1.403 GB, free: 5.527 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01261/1.679, allocations: 7.284 MB / 1.411 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/1.685, allocations: 2.984 MB / 1.414 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/1.695, allocations: 3.108 MB / 1.417 GB, free: 8.09 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007085/1.702, allocations: 2.666 MB / 1.419 GB, free: 5.422 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/1.704, allocations: 340 kB / 1.419 GB, free: 5.09 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/1.721, allocations: 5.97 MB / 1.425 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/1.725, allocations: 1.457 MB / 1.427 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005466/1.73, allocations: 1.91 MB / 1.429 GB, free: 11.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02147/1.752, allocations: 6.884 MB / 1.435 GB, free: 4.824 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/1.752, allocations: 0 / 1.435 GB, free: 4.824 MB / 1.154 GB Notification: Performance of FrontEnd: time 5.962e-06/1.752, allocations: 0 / 1.435 GB, free: 4.824 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002065/1.752, allocations: 3.938 kB / 1.435 GB, free: 4.82 MB / 1.154 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.01592/1.768, allocations: 4.092 MB / 1.439 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/1.768, allocations: 8.031 kB / 1.439 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/1.774, allocations: 0.8548 MB / 1.44 GB, free: 15.79 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/1.779, allocations: 1.787 MB / 1.442 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.78, allocations: 209.4 kB / 1.442 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00053/1.78, allocations: 280 kB / 1.442 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/1.788, allocations: 3.593 MB / 1.446 GB, free: 9.742 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-05/1.788, allocations: 7.938 kB / 1.446 GB, free: 9.734 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002983/1.788, allocations: 116 kB / 1.446 GB, free: 9.621 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/1.788, allocations: 149.2 kB / 1.446 GB, free: 9.473 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/1.795, allocations: 3.288 MB / 1.449 GB, free: 6.168 MB / 1.17 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.02153/1.816, allocations: 14.3 MB / 1.463 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/1.821, allocations: 2.504 MB / 1.466 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/1.823, allocations: 1.352 MB / 1.467 GB, free: 2.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/1.824, allocations: 1.375 MB / 1.468 GB, free: 1.059 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00217/1.826, allocations: 1.222 MB / 1.47 GB, free: 15.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 5.039e-06/1.826, allocations: 0 / 1.47 GB, free: 15.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.006233/1.833, allocations: 3.168 MB / 1.473 GB, free: 12.65 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/1.833, allocations: 77.41 kB / 1.473 GB, free: 12.56 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.835, allocations: 1.46 MB / 1.474 GB, free: 11.1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/1.836, allocations: 65.7 kB / 1.474 GB, free: 11.03 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.837, allocations: 1.123 MB / 1.475 GB, free: 9.891 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009502/1.838, allocations: 0.7276 MB / 1.476 GB, free: 9.152 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006534/1.839, allocations: 359.5 kB / 1.476 GB, free: 8.793 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.839, allocations: 301.1 kB / 1.477 GB, free: 8.496 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.84, allocations: 0.9136 MB / 1.478 GB, free: 7.578 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/1.842, allocations: 1.255 MB / 1.479 GB, free: 6.203 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/1.846, allocations: 2.321 MB / 1.481 GB, free: 3.777 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/1.846, allocations: 4 kB / 1.481 GB, free: 3.773 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005328/1.852, allocations: 2.601 MB / 1.484 GB, free: 1.156 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/1.852, allocations: 37.64 kB / 1.484 GB, free: 1.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/1.852, allocations: 8 kB / 1.484 GB, free: 1.105 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.746e-05/1.852, allocations: 16.69 kB / 1.484 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.854, allocations: 471.3 kB / 1.484 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/1.854, allocations: 27.86 kB / 1.484 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.857, allocations: 186 kB / 1.484 GB, free: 428 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/1.857, allocations: 79.98 kB / 1.484 GB, free: 348 kB / 1.201 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001573/1.858, allocations: 0.6851 MB / 1.485 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/1.859, allocations: 213.5 kB / 1.485 GB, free: 15.43 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/1.864, allocations: 2.519 MB / 1.488 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.864, allocations: 23.94 kB / 1.488 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.864, allocations: 3.938 kB / 1.488 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003599/1.867, allocations: 2.339 MB / 1.49 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.879, allocations: 5.603 MB / 1.496 GB, free: 4.746 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.879, allocations: 4 kB / 1.496 GB, free: 4.742 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/1.881, allocations: 475.7 kB / 1.496 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-05/1.881, allocations: 8 kB / 1.496 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.881, allocations: 59.98 kB / 1.496 GB, free: 4.211 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.558e-05/1.881, allocations: 15.98 kB / 1.496 GB, free: 4.195 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.881, allocations: 3.938 kB / 1.496 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/1.888, allocations: 3.801 MB / 1.5 GB, free: 352 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.89, allocations: 0.541 MB / 1.5 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000632/1.891, allocations: 47.98 kB / 1.5 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.893, allocations: 61.28 kB / 1.5 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/1.893, allocations: 145.7 kB / 1.501 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/1.893, allocations: 75.97 kB / 1.501 GB, free: 15.46 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002103/1.895, allocations: 0.9866 MB / 1.502 GB, free: 14.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.61e-07/1.895, allocations: 0 / 1.502 GB, free: 14.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003307/1.899, allocations: 0.9351 MB / 1.503 GB, free: 13.54 MB / 1.232 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/1.9, allocations: 386.3 kB / 1.503 GB, free: 13.16 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009097/1.909, allocations: 3.872 MB / 1.507 GB, free: 9.277 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.909, allocations: 4 kB / 1.507 GB, free: 9.273 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.911, allocations: 1.219 MB / 1.508 GB, free: 8.062 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007362/1.919, allocations: 1.291 MB / 1.509 GB, free: 6.801 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.931, allocations: 6.032 MB / 1.515 GB, free: 0.6992 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/1.934, allocations: 1.979 MB / 1.517 GB, free: 14.68 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.935, allocations: 211.4 kB / 1.517 GB, free: 14.48 MB / 1.248 GB Notification: Performance of SimCode: time 1.292e-06/1.935, allocations: 0 / 1.517 GB, free: 14.48 MB / 1.248 GB Notification: Performance of Templates: time 0.817/2.752, allocations: 41.52 MB / 1.558 GB, free: 281.6 MB / 1.248 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches