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.006594/0.006594, allocations: 104 kB / 15.73 MB, free: 6.043 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.001184/0.001185, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.88 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3465, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.071/1.417, allocations: 294.3 MB / 1.375 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03225/1.45, allocations: 23.06 MB / 1.398 GB, free: 2.254 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005305/1.455, allocations: 78.56 kB / 1.398 GB, free: 2.254 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005803/1.461, allocations: 1.872 MB / 1.4 GB, free: 1.703 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01743/1.478, allocations: 6.312 MB / 1.406 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00891/1.487, allocations: 2.926 MB / 1.409 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0126/1.5, allocations: 7.308 MB / 1.416 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006776/1.507, allocations: 2.969 MB / 1.419 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009327/1.516, allocations: 2.951 MB / 1.422 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006752/1.523, allocations: 2.713 MB / 1.424 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/1.525, allocations: 341.5 kB / 1.425 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/1.542, allocations: 6.018 MB / 1.431 GB, free: 232 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003684/1.546, allocations: 1.464 MB / 1.432 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006783/1.553, allocations: 1.905 MB / 1.434 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/1.574, allocations: 6.931 MB / 1.441 GB, free: 6.473 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/1.574, allocations: 4 kB / 1.441 GB, free: 6.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.915e-06/1.575, allocations: 0 / 1.441 GB, free: 6.469 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002425/1.575, allocations: 0 / 1.441 GB, free: 6.469 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.01521/1.59, allocations: 4.092 MB / 1.445 GB, free: 2.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.59, allocations: 12.03 kB / 1.445 GB, free: 2.293 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/1.596, allocations: 0.843 MB / 1.445 GB, free: 1.445 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/1.6, allocations: 1.857 MB / 1.447 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.6, allocations: 205.3 kB / 1.447 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004299/1.601, allocations: 279.9 kB / 1.448 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006163/1.607, allocations: 3.597 MB / 1.451 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/1.607, allocations: 11.94 kB / 1.451 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/1.607, allocations: 112 kB / 1.451 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/1.607, allocations: 145.3 kB / 1.451 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/1.613, allocations: 3.28 MB / 1.455 GB, free: 7.773 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.01859/1.632, allocations: 14.21 MB / 1.469 GB, free: 8.332 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/1.636, allocations: 2.496 MB / 1.471 GB, free: 5.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.637, allocations: 1.349 MB / 1.472 GB, free: 4.414 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.639, allocations: 1.375 MB / 1.474 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.641, allocations: 1.222 MB / 1.475 GB, free: 1.508 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 3.908e-06/1.641, allocations: 0 / 1.475 GB, free: 1.508 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.005886/1.647, allocations: 3.177 MB / 1.478 GB, free: 14.33 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.647, allocations: 73.41 kB / 1.478 GB, free: 14.24 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.649, allocations: 1.452 MB / 1.479 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/1.649, allocations: 65.7 kB / 1.479 GB, free: 12.71 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009926/1.65, allocations: 1.127 MB / 1.481 GB, free: 11.57 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000766/1.651, allocations: 0.7354 MB / 1.481 GB, free: 10.83 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/1.651, allocations: 359.5 kB / 1.482 GB, free: 10.47 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.651, allocations: 305.1 kB / 1.482 GB, free: 10.17 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.653, allocations: 0.9097 MB / 1.483 GB, free: 9.254 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.655, allocations: 1.255 MB / 1.484 GB, free: 7.879 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/1.658, allocations: 2.325 MB / 1.486 GB, free: 5.449 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.658, allocations: 0 / 1.486 GB, free: 5.449 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004501/1.663, allocations: 2.597 MB / 1.489 GB, free: 2.836 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/1.663, allocations: 45.69 kB / 1.489 GB, free: 2.785 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.663, allocations: 11.88 kB / 1.489 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/1.663, allocations: 20 kB / 1.489 GB, free: 2.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.665, allocations: 459.9 kB / 1.489 GB, free: 2.305 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/1.665, allocations: 27.91 kB / 1.489 GB, free: 2.277 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.667, allocations: 190 kB / 1.49 GB, free: 2.09 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.667, allocations: 75.98 kB / 1.49 GB, free: 2.016 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.001286/1.668, allocations: 0.6846 MB / 1.49 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/1.669, allocations: 213.5 kB / 1.491 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.673, allocations: 2.519 MB / 1.493 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.673, allocations: 20 kB / 1.493 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.673, allocations: 4 kB / 1.493 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003345/1.676, allocations: 2.331 MB / 1.495 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/1.685, allocations: 5.608 MB / 1.501 GB, free: 6.426 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.686, allocations: 4 kB / 1.501 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.688, allocations: 475.7 kB / 1.501 GB, free: 5.957 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/1.688, allocations: 12 kB / 1.501 GB, free: 5.945 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.688, allocations: 59.95 kB / 1.501 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/1.688, allocations: 11.94 kB / 1.501 GB, free: 5.875 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.688, allocations: 4 kB / 1.501 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/1.694, allocations: 3.805 MB / 1.505 GB, free: 2.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.695, allocations: 0.5371 MB / 1.506 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/1.695, allocations: 47.98 kB / 1.506 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.697, allocations: 65.09 kB / 1.506 GB, free: 1.352 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.697, allocations: 149.7 kB / 1.506 GB, free: 1.203 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.697, allocations: 71.97 kB / 1.506 GB, free: 1.133 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001389/1.699, allocations: 0.9866 MB / 1.507 GB, free: 156 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.699, allocations: 0 / 1.507 GB, free: 156 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.00239/1.701, allocations: 0.9352 MB / 1.508 GB, free: 15.21 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.0007883/1.702, allocations: 374.8 kB / 1.508 GB, free: 14.85 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003812/1.706, allocations: 2.345 MB / 1.51 GB, free: 12.49 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.706, allocations: 4 kB / 1.51 GB, free: 12.49 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.707, allocations: 1.226 MB / 1.512 GB, free: 11.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/1.713, allocations: 1.278 MB / 1.513 GB, free: 10.01 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/1.722, allocations: 5.775 MB / 1.518 GB, free: 4.168 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.724, allocations: 1.968 MB / 1.52 GB, free: 2.164 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002819/1.726, allocations: 0.7249 MB / 1.521 GB, free: 1.438 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/1.727, allocations: 195.4 kB / 1.521 GB, free: 1.246 MB / 1.139 GB Notification: Performance of SimCode: time 1.263e-06/1.727, allocations: 0 / 1.521 GB, free: 1.246 MB / 1.139 GB Notification: Performance of Templates: time 0.0797/1.807, allocations: 47.81 MB / 1.568 GB, free: 1.992 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