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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008489/0.008489, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001697/0.001697, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.59 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3243, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.081/1.405, allocations: 294.2 MB / 1.375 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03623/1.442, allocations: 23.06 MB / 1.398 GB, free: 2.254 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/1.448, allocations: 78.31 kB / 1.398 GB, free: 2.254 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006388/1.454, allocations: 1.803 MB / 1.4 GB, free: 1.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02054/1.475, allocations: 6.123 MB / 1.406 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00973/1.484, allocations: 2.894 MB / 1.408 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01139/1.496, allocations: 7.297 MB / 1.416 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005245/1.501, allocations: 2.976 MB / 1.418 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008398/1.51, allocations: 2.874 MB / 1.421 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006544/1.516, allocations: 2.714 MB / 1.424 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001303/1.517, allocations: 342.8 kB / 1.424 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/1.533, allocations: 5.984 MB / 1.43 GB, free: 480 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002877/1.535, allocations: 1.466 MB / 1.432 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004568/1.54, allocations: 1.899 MB / 1.433 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/1.558, allocations: 6.931 MB / 1.44 GB, free: 6.902 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.558, allocations: 0 / 1.44 GB, free: 6.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/1.558, allocations: 4 kB / 1.44 GB, free: 6.898 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001585/1.558, allocations: 0 / 1.44 GB, free: 6.898 MB / 1.061 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.01278/1.571, allocations: 4.096 MB / 1.444 GB, free: 2.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.571, allocations: 8.031 kB / 1.444 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005641/1.577, allocations: 0.8469 MB / 1.445 GB, free: 1.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/1.581, allocations: 1.861 MB / 1.447 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/1.581, allocations: 201.4 kB / 1.447 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/1.582, allocations: 275.9 kB / 1.447 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006221/1.588, allocations: 3.601 MB / 1.451 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/1.588, allocations: 7.938 kB / 1.451 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/1.588, allocations: 112 kB / 1.451 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/1.588, allocations: 145.3 kB / 1.451 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005529/1.594, allocations: 3.288 MB / 1.454 GB, free: 8.195 MB / 1.076 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.01777/1.612, allocations: 14.21 MB / 1.468 GB, free: 8.754 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/1.615, allocations: 2.492 MB / 1.471 GB, free: 6.195 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/1.617, allocations: 1.352 MB / 1.472 GB, free: 4.836 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.619, allocations: 1.375 MB / 1.473 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/1.621, allocations: 1.218 MB / 1.474 GB, free: 1.934 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 5.18e-06/1.621, allocations: 3.984 kB / 1.474 GB, free: 1.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.005849/1.626, allocations: 3.177 MB / 1.478 GB, free: 14.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.626, allocations: 77.41 kB / 1.478 GB, free: 14.66 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/1.628, allocations: 1.449 MB / 1.479 GB, free: 13.2 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/1.629, allocations: 69.7 kB / 1.479 GB, free: 13.13 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000919/1.63, allocations: 1.123 MB / 1.48 GB, free: 12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/1.63, allocations: 0.7354 MB / 1.481 GB, free: 11.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/1.631, allocations: 359.5 kB / 1.481 GB, free: 10.89 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.631, allocations: 305.1 kB / 1.482 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/1.632, allocations: 0.9097 MB / 1.482 GB, free: 9.676 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/1.634, allocations: 1.255 MB / 1.484 GB, free: 8.301 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/1.638, allocations: 2.329 MB / 1.486 GB, free: 5.867 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.638, allocations: 64 / 1.486 GB, free: 5.867 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004356/1.642, allocations: 2.601 MB / 1.488 GB, free: 3.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/1.642, allocations: 37.69 kB / 1.489 GB, free: 3.207 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.642, allocations: 8 kB / 1.489 GB, free: 3.199 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/1.642, allocations: 16 kB / 1.489 GB, free: 3.184 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.644, allocations: 472 kB / 1.489 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.89e-05/1.644, allocations: 23.92 kB / 1.489 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.646, allocations: 186 kB / 1.489 GB, free: 2.516 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/1.647, allocations: 79.98 kB / 1.489 GB, free: 2.438 MB / 1.107 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.001536/1.648, allocations: 0.6846 MB / 1.49 GB, free: 1.742 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/1.649, allocations: 217.5 kB / 1.49 GB, free: 1.527 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/1.653, allocations: 2.511 MB / 1.493 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.653, allocations: 20 kB / 1.493 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.653, allocations: 4 kB / 1.493 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003374/1.656, allocations: 2.335 MB / 1.495 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009987/1.666, allocations: 5.6 MB / 1.5 GB, free: 6.855 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.666, allocations: 4.312 kB / 1.5 GB, free: 6.852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.669, allocations: 475.4 kB / 1.501 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.669, allocations: 8 kB / 1.501 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.669, allocations: 59.97 kB / 1.501 GB, free: 6.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/1.669, allocations: 12 kB / 1.501 GB, free: 6.309 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.669, allocations: 7.938 kB / 1.501 GB, free: 6.301 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006366/1.675, allocations: 3.79 MB / 1.505 GB, free: 2.465 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.677, allocations: 0.5487 MB / 1.505 GB, free: 1.895 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/1.677, allocations: 43.98 kB / 1.505 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.679, allocations: 70.34 kB / 1.505 GB, free: 1.785 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.679, allocations: 149.7 kB / 1.505 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.679, allocations: 71.97 kB / 1.505 GB, free: 1.566 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001374/1.681, allocations: 0.9866 MB / 1.506 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.681, allocations: 0 / 1.506 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002309/1.683, allocations: 0.9352 MB / 1.507 GB, free: 15.64 MB / 1.139 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.0007827/1.684, allocations: 387.1 kB / 1.508 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003752/1.688, allocations: 2.345 MB / 1.51 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.688, allocations: 0.5625 kB / 1.51 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.689, allocations: 1.229 MB / 1.511 GB, free: 11.69 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/1.695, allocations: 1.279 MB / 1.512 GB, free: 10.43 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008703/1.704, allocations: 5.767 MB / 1.518 GB, free: 4.598 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.705, allocations: 1.971 MB / 1.52 GB, free: 2.59 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002536/1.708, allocations: 0.7249 MB / 1.521 GB, free: 1.863 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/1.708, allocations: 195.4 kB / 1.521 GB, free: 1.672 MB / 1.139 GB Notification: Performance of SimCode: time 9.82e-07/1.708, allocations: 0 / 1.521 GB, free: 1.672 MB / 1.139 GB Notification: Performance of Templates: time 0.07534/1.784, allocations: 47.81 MB / 1.568 GB, free: 2.422 MB / 1.186 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches