Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001299/0.001299, allocations: 105 kB / 16.41 MB, free: 6.508 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.00124/0.00124, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.322/2.322, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7454, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2543/0.9997, allocations: 294.2 MB / 1.496 GB, free: 6.293 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02742/1.027, allocations: 23.06 MB / 1.518 GB, free: 15.17 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/1.031, allocations: 75.62 kB / 1.518 GB, free: 15.1 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/1.037, allocations: 1.794 MB / 1.52 GB, free: 13.29 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01498/1.052, allocations: 6.123 MB / 1.526 GB, free: 7.145 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006819/1.058, allocations: 2.896 MB / 1.529 GB, free: 4.25 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008618/1.067, allocations: 7.303 MB / 1.536 GB, free: 12.92 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/1.071, allocations: 2.984 MB / 1.539 GB, free: 9.883 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/1.077, allocations: 2.905 MB / 1.542 GB, free: 6.992 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/1.081, allocations: 2.704 MB / 1.544 GB, free: 4.285 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005395/1.081, allocations: 344 kB / 1.545 GB, free: 3.949 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/1.092, allocations: 5.978 MB / 1.551 GB, free: 13.96 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.093, allocations: 1.481 MB / 1.552 GB, free: 12.47 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002376/1.096, allocations: 1.898 MB / 1.554 GB, free: 10.57 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.107, allocations: 6.934 MB / 1.561 GB, free: 3.613 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.107, allocations: 0 / 1.561 GB, free: 3.613 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.963e-06/1.107, allocations: 0 / 1.561 GB, free: 3.613 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.751e-05/1.107, allocations: 0 / 1.561 GB, free: 3.613 MB / 1.279 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.6329/1.74, allocations: 4.081 MB / 1.565 GB, free: 350.9 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.74, allocations: 10.09 kB / 1.565 GB, free: 350.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/1.746, allocations: 0.8469 MB / 1.566 GB, free: 350.7 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/1.751, allocations: 1.86 MB / 1.567 GB, free: 349.7 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/1.751, allocations: 210.2 kB / 1.568 GB, free: 349.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007272/1.752, allocations: 282.8 kB / 1.568 GB, free: 349.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/1.759, allocations: 3.59 MB / 1.571 GB, free: 348.1 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/1.759, allocations: 6.688 kB / 1.571 GB, free: 348.1 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/1.759, allocations: 113.6 kB / 1.571 GB, free: 348 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/1.759, allocations: 151.3 kB / 1.572 GB, free: 348 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/1.765, allocations: 3.285 MB / 1.575 GB, free: 346.9 MB / 1.279 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.01302/1.778, allocations: 14.21 MB / 1.589 GB, free: 336.3 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/1.781, allocations: 2.484 MB / 1.591 GB, free: 334.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/1.782, allocations: 1.354 MB / 1.592 GB, free: 334.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008304/1.783, allocations: 1.379 MB / 1.594 GB, free: 332.7 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.785, allocations: 1.229 MB / 1.595 GB, free: 332 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 4.198e-06/1.785, allocations: 0 / 1.595 GB, free: 332 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.00458/1.789, allocations: 3.166 MB / 1.598 GB, free: 330.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/1.789, allocations: 81.39 kB / 1.598 GB, free: 330.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.791, allocations: 1.449 MB / 1.6 GB, free: 328.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/1.791, allocations: 73.69 kB / 1.6 GB, free: 328.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/1.791, allocations: 1.111 MB / 1.601 GB, free: 327.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/1.792, allocations: 0.725 MB / 1.601 GB, free: 326.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/1.792, allocations: 367.3 kB / 1.602 GB, free: 326.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/1.792, allocations: 301.1 kB / 1.602 GB, free: 326.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.794, allocations: 0.9136 MB / 1.603 GB, free: 325.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/1.795, allocations: 1.257 MB / 1.604 GB, free: 323.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/1.797, allocations: 2.323 MB / 1.606 GB, free: 321.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.797, allocations: 0 / 1.606 GB, free: 321.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003366/1.801, allocations: 2.603 MB / 1.609 GB, free: 318.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/1.801, allocations: 37.64 kB / 1.609 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.801, allocations: 11.31 kB / 1.609 GB, free: 318.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/1.801, allocations: 16 kB / 1.609 GB, free: 318.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.803, allocations: 470.6 kB / 1.609 GB, free: 318.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/1.803, allocations: 19.94 kB / 1.61 GB, free: 318.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.804, allocations: 186 kB / 1.61 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.804, allocations: 83.8 kB / 1.61 GB, free: 318 MB / 1.279 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.0009449/1.805, allocations: 0.6846 MB / 1.61 GB, free: 317.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/1.806, allocations: 225.2 kB / 1.611 GB, free: 317.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/1.809, allocations: 2.519 MB / 1.613 GB, free: 314.6 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.809, allocations: 20 kB / 1.613 GB, free: 314.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.809, allocations: 0 / 1.613 GB, free: 314.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002538/1.811, allocations: 2.331 MB / 1.615 GB, free: 312.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/1.818, allocations: 5.605 MB / 1.621 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.818, allocations: 4 kB / 1.621 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.82, allocations: 479.3 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.82, allocations: 11.97 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.82, allocations: 51.98 kB / 1.621 GB, free: 306 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/1.82, allocations: 15.94 kB / 1.621 GB, free: 305.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.82, allocations: 4 kB / 1.621 GB, free: 305.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/1.824, allocations: 3.798 MB / 1.625 GB, free: 302.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/1.825, allocations: 0.5404 MB / 1.626 GB, free: 301.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/1.825, allocations: 44 kB / 1.626 GB, free: 301.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.826, allocations: 67.89 kB / 1.626 GB, free: 301.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/1.827, allocations: 145.7 kB / 1.626 GB, free: 301.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.827, allocations: 75.91 kB / 1.626 GB, free: 301.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009205/1.828, allocations: 0.9939 MB / 1.627 GB, free: 300.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.4e-07/1.828, allocations: 0 / 1.627 GB, free: 300.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001656/1.829, allocations: 0.9311 MB / 1.628 GB, free: 299.3 MB / 1.279 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.0006133/1.83, allocations: 377.8 kB / 1.628 GB, free: 299 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002719/1.833, allocations: 2.353 MB / 1.631 GB, free: 296.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.833, allocations: 0 / 1.631 GB, free: 296.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.834, allocations: 1.211 MB / 1.632 GB, free: 295.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/1.838, allocations: 1.288 MB / 1.633 GB, free: 294.3 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/1.845, allocations: 5.967 MB / 1.639 GB, free: 288.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/1.846, allocations: 1.975 MB / 1.641 GB, free: 286.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/1.846, allocations: 215.4 kB / 1.641 GB, free: 286.1 MB / 1.279 GB Notification: Performance of SimCode: time 6.11e-07/1.846, allocations: 0 / 1.641 GB, free: 286.1 MB / 1.279 GB Notification: Performance of Templates: time 0.04071/1.887, allocations: 41.8 MB / 1.682 GB, free: 244.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches