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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001315/0.001315, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.145/1.145, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.174/2.174, allocations: 443.2 MB / 0.7181 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 7.562 kB / 0.8801 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 155.2 MB / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6651/0.8691, allocations: 288.1 MB / 1.313 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.8887, allocations: 22.99 MB / 1.335 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.8909, allocations: 63.81 kB / 1.335 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.8939, allocations: 1.554 MB / 1.337 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009912/0.9038, allocations: 5.764 MB / 1.343 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004817/0.9086, allocations: 2.645 MB / 1.345 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007282/0.9159, allocations: 10.73 MB / 1.356 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.9182, allocations: 2.431 MB / 1.358 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.9223, allocations: 2.425 MB / 1.36 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.9249, allocations: 2.708 MB / 1.363 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.9252, allocations: 167.5 kB / 1.363 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008678/0.9339, allocations: 6.872 MB / 1.37 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009783/0.9349, allocations: 1.279 MB / 1.371 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.9363, allocations: 1.712 MB / 1.373 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.9408, allocations: 5.056 MB / 1.378 GB, free: 13.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9408, allocations: 0 / 1.378 GB, free: 13.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9408, allocations: 3.984 kB / 1.378 GB, free: 13.03 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.9408, allocations: 0 / 1.378 GB, free: 13.03 MB / 1.014 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.006876/0.9477, allocations: 3.476 MB / 1.381 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.9478, allocations: 12.56 kB / 1.381 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00441/0.9522, allocations: 0.8444 MB / 1.382 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.9543, allocations: 1.799 MB / 1.384 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.9544, allocations: 205.1 kB / 1.384 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.9548, allocations: 277.2 kB / 1.384 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00447/0.9592, allocations: 3.601 MB / 1.388 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/0.9593, allocations: 6.594 kB / 1.388 GB, free: 8.176 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.9595, allocations: 115 kB / 1.388 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.9596, allocations: 150.6 kB / 1.388 GB, free: 8.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.9641, allocations: 3.299 MB / 1.391 GB, free: 6.445 MB / 1.014 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.01139/0.9755, allocations: 14.16 MB / 1.405 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.9785, allocations: 2.491 MB / 1.408 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.9801, allocations: 1.359 MB / 1.409 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/0.9811, allocations: 1.38 MB / 1.41 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.9828, allocations: 1.23 MB / 1.411 GB, free: 5.008 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 3.397e-06/0.9828, allocations: 0 / 1.411 GB, free: 5.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.004816/0.9876, allocations: 3.186 MB / 1.414 GB, free: 1.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.9877, allocations: 77.34 kB / 1.415 GB, free: 1.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.9892, allocations: 1.452 MB / 1.416 GB, free: 284 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9893, allocations: 73.7 kB / 1.416 GB, free: 204 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000662/0.99, allocations: 1.123 MB / 1.417 GB, free: 15.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/0.9905, allocations: 0.7354 MB / 1.418 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.9907, allocations: 161.7 kB / 1.418 GB, free: 14.17 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.9908, allocations: 305.1 kB / 1.418 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.9922, allocations: 0.9202 MB / 1.419 GB, free: 12.95 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.9937, allocations: 1.254 MB / 1.42 GB, free: 11.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.9967, allocations: 2.336 MB / 1.423 GB, free: 9.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.9967, allocations: 7.938 kB / 1.423 GB, free: 9.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003514/1, allocations: 2.612 MB / 1.425 GB, free: 6.566 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1, allocations: 37.7 kB / 1.425 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1, allocations: 8.062 kB / 1.425 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1, allocations: 20 kB / 1.425 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.002, allocations: 482.1 kB / 1.426 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/1.002, allocations: 24.44 kB / 1.426 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.004, allocations: 405.6 kB / 1.426 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.004, allocations: 75.98 kB / 1.426 GB, free: 5.559 MB / 1.045 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.000823/1.005, allocations: 0.6843 MB / 1.427 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/1.005, allocations: 213.5 kB / 1.427 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/1.009, allocations: 2.54 MB / 1.43 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.009, allocations: 20 kB / 1.43 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.009, allocations: 3.938 kB / 1.43 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/1.012, allocations: 2.339 MB / 1.432 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/1.019, allocations: 5.617 MB / 1.437 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.019, allocations: 4 kB / 1.437 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.021, allocations: 489 kB / 1.438 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/1.021, allocations: 8 kB / 1.438 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/1.021, allocations: 55.98 kB / 1.438 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/1.021, allocations: 8 kB / 1.438 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.021, allocations: 7.375 kB / 1.438 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/1.026, allocations: 3.815 MB / 1.442 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/1.027, allocations: 0.5371 MB / 1.442 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.027, allocations: 44 kB / 1.442 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.029, allocations: 255.3 kB / 1.443 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/1.029, allocations: 152.7 kB / 1.443 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.029, allocations: 71.98 kB / 1.443 GB, free: 4.578 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001028/1.03, allocations: 0.9944 MB / 1.444 GB, free: 3.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 0 / 1.444 GB, free: 3.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001556/1.032, allocations: 0.9312 MB / 1.445 GB, free: 2.656 MB / 1.061 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.0005739/1.032, allocations: 385 kB / 1.445 GB, free: 2.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002963/1.035, allocations: 2.338 MB / 1.447 GB, free: 4 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.035, allocations: 5.578 kB / 1.447 GB, free: 16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/1.037, allocations: 1.222 MB / 1.448 GB, free: 14.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.042, allocations: 1.233 MB / 1.45 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/1.049, allocations: 7.465 MB / 1.457 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.051, allocations: 1.979 MB / 1.459 GB, free: 4.066 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/1.051, allocations: 215.4 kB / 1.459 GB, free: 3.859 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/1.051, allocations: 0 / 1.459 GB, free: 3.859 MB / 1.076 GB Notification: Performance of Templates: time 0.0421/1.094, allocations: 41.2 MB / 1.499 GB, free: 10.89 MB / 1.123 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