Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007467/0.007467, allocations: 96.3 kB / 15.73 MB, free: 5.988 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.001614/0.001614, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3567, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.026/1.383, allocations: 294.3 MB / 1.454 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03335/1.416, allocations: 23.04 MB / 1.477 GB, free: 6.992 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/1.421, allocations: 79.56 kB / 1.477 GB, free: 6.914 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005605/1.426, allocations: 1.787 MB / 1.478 GB, free: 5.117 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01835/1.445, allocations: 6.126 MB / 1.484 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.009644/1.454, allocations: 2.896 MB / 1.487 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.012/1.466, allocations: 7.304 MB / 1.494 GB, free: 4.742 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005616/1.472, allocations: 2.978 MB / 1.497 GB, free: 1.719 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008453/1.48, allocations: 2.877 MB / 1.5 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/1.487, allocations: 2.706 MB / 1.503 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/1.488, allocations: 344 kB / 1.503 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/1.502, allocations: 5.978 MB / 1.509 GB, free: 5.828 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002598/1.505, allocations: 1.461 MB / 1.51 GB, free: 4.363 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003586/1.508, allocations: 1.906 MB / 1.512 GB, free: 2.449 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/1.526, allocations: 6.959 MB / 1.519 GB, free: 11.47 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/1.526, allocations: 0 / 1.519 GB, free: 11.47 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.522e-06/1.526, allocations: 3.938 kB / 1.519 GB, free: 11.46 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001314/1.526, allocations: 0 / 1.519 GB, free: 11.46 MB / 1.186 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.01106/1.537, allocations: 4.195 MB / 1.523 GB, free: 7.191 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.537, allocations: 12.03 kB / 1.523 GB, free: 7.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/1.543, allocations: 0.8565 MB / 1.524 GB, free: 6.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/1.547, allocations: 1.874 MB / 1.526 GB, free: 4.391 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.547, allocations: 213.4 kB / 1.526 GB, free: 4.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/1.548, allocations: 279.9 kB / 1.526 GB, free: 3.906 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/1.554, allocations: 3.593 MB / 1.53 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/1.554, allocations: 8 kB / 1.53 GB, free: 184 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/1.554, allocations: 119.9 kB / 1.53 GB, free: 64 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/1.554, allocations: 145.3 kB / 1.53 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005773/1.56, allocations: 3.292 MB / 1.533 GB, free: 12.61 MB / 1.201 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.01807/1.578, allocations: 14.23 MB / 1.547 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/1.582, allocations: 2.506 MB / 1.549 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/1.584, allocations: 1.352 MB / 1.551 GB, free: 9.234 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.585, allocations: 1.378 MB / 1.552 GB, free: 7.562 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/1.587, allocations: 1.218 MB / 1.553 GB, free: 6.332 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 3.927e-06/1.587, allocations: 0 / 1.553 GB, free: 6.332 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.005972/1.593, allocations: 3.181 MB / 1.556 GB, free: 3.148 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/1.593, allocations: 73.41 kB / 1.556 GB, free: 3.066 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/1.596, allocations: 1.456 MB / 1.558 GB, free: 1.605 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/1.596, allocations: 69.7 kB / 1.558 GB, free: 1.531 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.597, allocations: 1.141 MB / 1.559 GB, free: 388 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/1.598, allocations: 0.7709 MB / 1.56 GB, free: 15.6 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005978/1.598, allocations: 351.6 kB / 1.56 GB, free: 15.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.599, allocations: 305.1 kB / 1.56 GB, free: 14.95 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/1.6, allocations: 0.9136 MB / 1.561 GB, free: 14.03 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.602, allocations: 1.255 MB / 1.563 GB, free: 12.65 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/1.606, allocations: 2.317 MB / 1.565 GB, free: 10.22 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.606, allocations: 0 / 1.565 GB, free: 10.22 MB / 1.232 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004834/1.611, allocations: 2.614 MB / 1.567 GB, free: 7.594 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/1.611, allocations: 37.7 kB / 1.567 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.611, allocations: 4 kB / 1.567 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/1.611, allocations: 20 kB / 1.567 GB, free: 7.527 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.613, allocations: 467.9 kB / 1.568 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.402e-05/1.613, allocations: 23.92 kB / 1.568 GB, free: 7.047 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.615, allocations: 198.3 kB / 1.568 GB, free: 6.855 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.615, allocations: 79.98 kB / 1.568 GB, free: 6.777 MB / 1.232 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.001296/1.616, allocations: 0.6768 MB / 1.569 GB, free: 6.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.617, allocations: 226.6 kB / 1.569 GB, free: 5.867 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/1.621, allocations: 2.53 MB / 1.572 GB, free: 3.324 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.621, allocations: 20 kB / 1.572 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.621, allocations: 11.94 kB / 1.572 GB, free: 3.293 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003413/1.625, allocations: 2.335 MB / 1.574 GB, free: 0.8906 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009238/1.634, allocations: 5.604 MB / 1.579 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.634, allocations: 4 kB / 1.579 GB, free: 11.17 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.636, allocations: 475.7 kB / 1.58 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/1.636, allocations: 15.94 kB / 1.58 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.636, allocations: 55.98 kB / 1.58 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.636, allocations: 11.98 kB / 1.58 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.636, allocations: 11.94 kB / 1.58 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005965/1.642, allocations: 3.81 MB / 1.584 GB, free: 6.754 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.644, allocations: 0.5422 MB / 1.584 GB, free: 6.191 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/1.644, allocations: 47.98 kB / 1.584 GB, free: 6.145 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.645, allocations: 70.47 kB / 1.584 GB, free: 6.078 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.646, allocations: 149.7 kB / 1.584 GB, free: 5.934 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.646, allocations: 67.97 kB / 1.584 GB, free: 5.867 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001425/1.647, allocations: 0.9906 MB / 1.585 GB, free: 4.883 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.9e-07/1.647, allocations: 0 / 1.585 GB, free: 4.883 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002185/1.649, allocations: 0.9395 MB / 1.586 GB, free: 3.941 MB / 1.248 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.0007584/1.65, allocations: 388.5 kB / 1.587 GB, free: 3.559 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003859/1.654, allocations: 2.341 MB / 1.589 GB, free: 1.203 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.654, allocations: 4 kB / 1.589 GB, free: 1.199 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.656, allocations: 1.226 MB / 1.59 GB, free: 15.97 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/1.661, allocations: 1.281 MB / 1.591 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/1.671, allocations: 5.876 MB / 1.597 GB, free: 8.77 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.673, allocations: 1.975 MB / 1.599 GB, free: 6.758 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002768/1.675, allocations: 0.7171 MB / 1.6 GB, free: 6.039 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/1.676, allocations: 191.4 kB / 1.6 GB, free: 5.855 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/1.676, allocations: 0 / 1.6 GB, free: 5.855 MB / 1.264 GB Notification: Performance of Templates: time 0.08195/1.758, allocations: 47.8 MB / 1.647 GB, free: 6.668 MB / 1.311 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches