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.001819/0.001819, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001862/0.001862, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.504/1.504, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.814/2.814, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 69.17 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4553, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.14/1.596, allocations: 290.8 MB / 1.348 GB, free: 5.984 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03932/1.635, allocations: 22.93 MB / 1.371 GB, free: 15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005353/1.64, allocations: 67.62 kB / 1.371 GB, free: 14.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00643/1.647, allocations: 1.61 MB / 1.372 GB, free: 13.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01933/1.666, allocations: 5.764 MB / 1.378 GB, free: 7.531 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009707/1.676, allocations: 2.663 MB / 1.38 GB, free: 4.875 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01318/1.689, allocations: 7.296 MB / 1.388 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005554/1.695, allocations: 2.874 MB / 1.39 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.706, allocations: 2.915 MB / 1.393 GB, free: 7.734 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007552/1.713, allocations: 2.887 MB / 1.396 GB, free: 4.848 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/1.715, allocations: 344 kB / 1.396 GB, free: 4.512 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/1.733, allocations: 6.218 MB / 1.402 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003938/1.737, allocations: 1.477 MB / 1.404 GB, free: 12.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005909/1.743, allocations: 1.902 MB / 1.406 GB, free: 10.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.756, allocations: 5.177 MB / 1.411 GB, free: 5.699 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/1.756, allocations: 0 / 1.411 GB, free: 5.699 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.435e-06/1.756, allocations: 4 kB / 1.411 GB, free: 5.695 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001954/1.757, allocations: 0 / 1.411 GB, free: 5.695 MB / 1.123 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.01482/1.771, allocations: 4.081 MB / 1.415 GB, free: 1.543 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/1.771, allocations: 8.031 kB / 1.415 GB, free: 1.535 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006147/1.778, allocations: 0.8469 MB / 1.416 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.783, allocations: 1.794 MB / 1.417 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/1.783, allocations: 209.4 kB / 1.418 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/1.783, allocations: 279.9 kB / 1.418 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/1.791, allocations: 3.593 MB / 1.421 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/1.791, allocations: 8 kB / 1.421 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/1.792, allocations: 116 kB / 1.421 GB, free: 10.51 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/1.792, allocations: 141.3 kB / 1.422 GB, free: 10.37 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006782/1.799, allocations: 3.288 MB / 1.425 GB, free: 7.066 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.02254/1.821, allocations: 14.15 MB / 1.439 GB, free: 7.691 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/1.826, allocations: 2.489 MB / 1.441 GB, free: 5.129 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.828, allocations: 1.349 MB / 1.442 GB, free: 3.785 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/1.83, allocations: 1.375 MB / 1.444 GB, free: 2.113 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/1.832, allocations: 1.226 MB / 1.445 GB, free: 0.875 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 4.338e-06/1.832, allocations: 0 / 1.445 GB, free: 0.875 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.006811/1.839, allocations: 3.165 MB / 1.448 GB, free: 13.71 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/1.839, allocations: 73.41 kB / 1.448 GB, free: 13.62 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.842, allocations: 1.456 MB / 1.449 GB, free: 12.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/1.843, allocations: 61.7 kB / 1.45 GB, free: 12.09 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/1.844, allocations: 1.127 MB / 1.451 GB, free: 10.95 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.845, allocations: 0.7392 MB / 1.451 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008286/1.846, allocations: 359.5 kB / 1.452 GB, free: 9.844 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.846, allocations: 305.1 kB / 1.452 GB, free: 9.543 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/1.848, allocations: 0.9136 MB / 1.453 GB, free: 8.625 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/1.851, allocations: 1.258 MB / 1.454 GB, free: 7.246 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.855, allocations: 2.321 MB / 1.456 GB, free: 4.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.855, allocations: 4 kB / 1.456 GB, free: 4.816 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005963/1.861, allocations: 2.609 MB / 1.459 GB, free: 2.191 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/1.861, allocations: 33.7 kB / 1.459 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.861, allocations: 8 kB / 1.459 GB, free: 2.145 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.84e-05/1.862, allocations: 16 kB / 1.459 GB, free: 2.129 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/1.864, allocations: 471.9 kB / 1.459 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.248e-05/1.864, allocations: 19.94 kB / 1.459 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.867, allocations: 397.7 kB / 1.46 GB, free: 1.258 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.867, allocations: 79.98 kB / 1.46 GB, free: 1.18 MB / 1.17 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.00189/1.869, allocations: 0.6807 MB / 1.461 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009535/1.87, allocations: 213.5 kB / 1.461 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005795/1.876, allocations: 2.523 MB / 1.463 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.876, allocations: 20 kB / 1.463 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.876, allocations: 0 / 1.463 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004392/1.881, allocations: 2.339 MB / 1.466 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/1.894, allocations: 5.611 MB / 1.471 GB, free: 5.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.894, allocations: 7.984 kB / 1.471 GB, free: 5.574 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.897, allocations: 471.7 kB / 1.471 GB, free: 5.113 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/1.897, allocations: 8 kB / 1.471 GB, free: 5.105 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002204/1.897, allocations: 55.97 kB / 1.472 GB, free: 5.051 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/1.897, allocations: 12 kB / 1.472 GB, free: 5.039 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.897, allocations: 3.938 kB / 1.472 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/1.905, allocations: 3.803 MB / 1.475 GB, free: 1.184 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.907, allocations: 0.541 MB / 1.476 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006459/1.907, allocations: 44 kB / 1.476 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.91, allocations: 241 kB / 1.476 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004076/1.911, allocations: 149.7 kB / 1.476 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.911, allocations: 71.97 kB / 1.476 GB, free: 132 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002388/1.913, allocations: 0.9906 MB / 1.477 GB, free: 15.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.21e-07/1.913, allocations: 0 / 1.477 GB, free: 15.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003639/1.917, allocations: 0.9351 MB / 1.478 GB, free: 14.21 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.001186/1.918, allocations: 392.2 kB / 1.479 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.009952/1.928, allocations: 3.876 MB / 1.482 GB, free: 9.938 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.928, allocations: 4 kB / 1.482 GB, free: 9.934 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002624/1.931, allocations: 1.214 MB / 1.484 GB, free: 8.727 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008044/1.939, allocations: 1.286 MB / 1.485 GB, free: 7.469 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/1.956, allocations: 7.2 MB / 1.492 GB, free: 204 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/1.96, allocations: 1.975 MB / 1.494 GB, free: 14.19 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.961, allocations: 215.4 kB / 1.494 GB, free: 13.98 MB / 1.217 GB Notification: Performance of SimCode: time 1.713e-06/1.961, allocations: 0 / 1.494 GB, free: 13.98 MB / 1.217 GB Notification: Performance of Templates: time 0.0856/2.047, allocations: 41.56 MB / 1.535 GB, free: 4.621 MB / 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