Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001706/0.001706, allocations: 106.4 kB / 16.27 MB, free: 6.414 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.001791/0.001791, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.48/1.48, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002025, allocations: 67.31 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3837, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.109/1.492, allocations: 294.2 MB / 1.352 GB, free: 2.203 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0375/1.53, allocations: 23.05 MB / 1.374 GB, free: 11.1 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/1.534, allocations: 75.62 kB / 1.375 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006064/1.54, allocations: 1.798 MB / 1.376 GB, free: 9.215 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01855/1.559, allocations: 6.13 MB / 1.382 GB, free: 3.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009161/1.568, allocations: 2.868 MB / 1.385 GB, free: 200 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01226/1.58, allocations: 7.298 MB / 1.392 GB, free: 8.875 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0056/1.586, allocations: 2.989 MB / 1.395 GB, free: 5.844 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00852/1.595, allocations: 2.862 MB / 1.398 GB, free: 2.996 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006261/1.601, allocations: 2.707 MB / 1.401 GB, free: 296 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001323/1.602, allocations: 344 kB / 1.401 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/1.618, allocations: 5.982 MB / 1.407 GB, free: 9.957 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002886/1.621, allocations: 1.469 MB / 1.408 GB, free: 8.484 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/1.625, allocations: 1.902 MB / 1.41 GB, free: 6.574 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01627/1.641, allocations: 6.876 MB / 1.417 GB, free: 15.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/1.641, allocations: 4 kB / 1.417 GB, free: 15.68 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.854e-06/1.641, allocations: 0 / 1.417 GB, free: 15.68 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001606/1.641, allocations: 4 kB / 1.417 GB, free: 15.67 MB / 1.139 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.01266/1.654, allocations: 4.098 MB / 1.421 GB, free: 11.5 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.654, allocations: 12.03 kB / 1.421 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005872/1.66, allocations: 0.843 MB / 1.422 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/1.664, allocations: 1.794 MB / 1.423 GB, free: 8.793 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/1.664, allocations: 205.4 kB / 1.424 GB, free: 8.59 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005497/1.665, allocations: 275.9 kB / 1.424 GB, free: 8.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/1.672, allocations: 3.593 MB / 1.427 GB, free: 4.602 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/1.672, allocations: 7.938 kB / 1.427 GB, free: 4.594 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/1.673, allocations: 116 kB / 1.427 GB, free: 4.48 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/1.673, allocations: 153.3 kB / 1.428 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006694/1.68, allocations: 3.284 MB / 1.431 GB, free: 1.031 MB / 1.139 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.02229/1.702, allocations: 14.3 MB / 1.445 GB, free: 1.504 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/1.706, allocations: 2.483 MB / 1.447 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/1.709, allocations: 1.356 MB / 1.449 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.71, allocations: 1.375 MB / 1.45 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/1.713, allocations: 1.218 MB / 1.451 GB, free: 10.7 MB / 1.17 GB Notification: Performance of pre-optimization done (n=213): time 5.14e-06/1.713, allocations: 0 / 1.451 GB, free: 10.7 MB / 1.17 GB Notification: Performance of matching and sorting (n=213): time 0.006474/1.719, allocations: 3.169 MB / 1.454 GB, free: 7.523 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/1.719, allocations: 77.41 kB / 1.454 GB, free: 7.434 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.722, allocations: 1.456 MB / 1.456 GB, free: 5.973 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.722, allocations: 65.7 kB / 1.456 GB, free: 5.902 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/1.723, allocations: 1.119 MB / 1.457 GB, free: 4.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008985/1.724, allocations: 0.7354 MB / 1.458 GB, free: 4.023 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/1.725, allocations: 363.5 kB / 1.458 GB, free: 3.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.725, allocations: 305.1 kB / 1.458 GB, free: 3.359 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.727, allocations: 0.9097 MB / 1.459 GB, free: 2.445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/1.729, allocations: 1.258 MB / 1.46 GB, free: 1.066 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/1.733, allocations: 2.325 MB / 1.463 GB, free: 14.64 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.733, allocations: 64 / 1.463 GB, free: 14.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005114/1.738, allocations: 2.605 MB / 1.465 GB, free: 12.02 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/1.738, allocations: 37.7 kB / 1.465 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.738, allocations: 11.94 kB / 1.465 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.738, allocations: 16 kB / 1.465 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/1.74, allocations: 467.3 kB / 1.466 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/1.74, allocations: 20.16 kB / 1.466 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/1.742, allocations: 193.9 kB / 1.466 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.742, allocations: 79.98 kB / 1.466 GB, free: 11.2 MB / 1.186 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.001506/1.744, allocations: 0.6807 MB / 1.467 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/1.745, allocations: 217.5 kB / 1.467 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/1.749, allocations: 2.515 MB / 1.469 GB, free: 7.754 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/1.749, allocations: 23.98 kB / 1.469 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/1.749, allocations: 0 / 1.469 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003826/1.753, allocations: 2.335 MB / 1.471 GB, free: 5.332 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.763, allocations: 5.607 MB / 1.477 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.764, allocations: 4.312 kB / 1.477 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.766, allocations: 479.3 kB / 1.477 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.766, allocations: 8 kB / 1.477 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.766, allocations: 51.98 kB / 1.477 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/1.766, allocations: 16 kB / 1.477 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.766, allocations: 3.938 kB / 1.478 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006801/1.773, allocations: 3.803 MB / 1.481 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.774, allocations: 0.5409 MB / 1.482 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/1.775, allocations: 44 kB / 1.482 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.776, allocations: 70.39 kB / 1.482 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.776, allocations: 149.7 kB / 1.482 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.777, allocations: 67.98 kB / 1.482 GB, free: 10.32 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001611/1.778, allocations: 0.9866 MB / 1.483 GB, free: 9.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.91e-07/1.778, allocations: 0 / 1.483 GB, free: 9.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002458/1.781, allocations: 0.9351 MB / 1.484 GB, free: 8.402 MB / 1.201 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.0008884/1.782, allocations: 393.6 kB / 1.484 GB, free: 8.023 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008615/1.79, allocations: 3.879 MB / 1.488 GB, free: 4.129 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.79, allocations: 4.625 kB / 1.488 GB, free: 4.125 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.792, allocations: 1.214 MB / 1.489 GB, free: 2.918 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.798, allocations: 1.282 MB / 1.491 GB, free: 1.664 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.81, allocations: 6.028 MB / 1.496 GB, free: 11.57 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.812, allocations: 1.979 MB / 1.498 GB, free: 9.551 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.813, allocations: 211.4 kB / 1.499 GB, free: 9.344 MB / 1.217 GB Notification: Performance of SimCode: time 1.212e-06/1.813, allocations: 3.938 kB / 1.499 GB, free: 9.34 MB / 1.217 GB Notification: Performance of Templates: time 0.0748/1.888, allocations: 41.54 MB / 1.539 GB, free: 8 kB / 1.248 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches