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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 192.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.557/3.557, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 70.5 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5153, allocations: 174.9 MB / 1.316 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.662/2.177, allocations: 296.7 MB / 1.606 GB, free: 4.379 MB / 1.295 GB
Notification: Performance of NFInst.instExpressions: time 0.04117/2.218, allocations: 23.23 MB / 1.628 GB, free: 4.352 MB / 1.295 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005643/2.224, allocations: 101.8 kB / 1.629 GB, free: 4.352 MB / 1.295 GB
Notification: Performance of NFTyping.typeComponents: time 0.008157/2.232, allocations: 1.892 MB / 1.63 GB, free: 4.328 MB / 1.295 GB
Notification: Performance of NFTyping.typeBindings: time 0.02915/2.261, allocations: 6.435 MB / 1.637 GB, free: 4.098 MB / 1.295 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01525/2.277, allocations: 2.997 MB / 1.64 GB, free: 4.012 MB / 1.295 GB
Notification: Performance of NFFlatten.flatten: time 0.01779/2.294, allocations: 7.431 MB / 1.647 GB, free: 3.992 MB / 1.295 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005872/2.3, allocations: 2.164 MB / 1.649 GB, free: 3.84 MB / 1.295 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.01269/2.313, allocations: 3.239 MB / 1.652 GB, free: 3.836 MB / 1.295 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00854/2.321, allocations: 2.858 MB / 1.655 GB, free: 3.828 MB / 1.295 GB
Notification: Performance of NFPackage.collectConstants: time 0.001893/2.323, allocations: 341.7 kB / 1.655 GB, free: 3.828 MB / 1.295 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.02187/2.345, allocations: 6.423 MB / 1.662 GB, free: 3.77 MB / 1.295 GB
Notification: Performance of NFScalarize.scalarize: time 0.006377/2.352, allocations: 1.496 MB / 1.663 GB, free: 3.77 MB / 1.295 GB
Notification: Performance of NFVerifyModel.verify: time 0.01167/2.363, allocations: 1.909 MB / 1.665 GB, free: 3.555 MB / 1.295 GB
Notification: Performance of NFConvertDAE.convert: time 0.02735/2.391, allocations: 6.96 MB / 1.672 GB, free: 2.777 MB / 1.295 GB
Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/2.391, allocations: 0 / 1.672 GB, free: 2.777 MB / 1.295 GB
Notification: Performance of FrontEnd: time 2.605e-06/2.391, allocations: 0.875 kB / 1.672 GB, free: 2.777 MB / 1.295 GB
Notification: Performance of Transformations before backend: time 0.0002802/2.391, allocations: 0 / 1.672 GB, free: 2.777 MB / 1.295 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.01925/2.41, allocations: 4.132 MB / 1.676 GB, free: 17.09 MB / 1.311 GB
Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/2.41, allocations: 8.469 kB / 1.676 GB, free: 17.09 MB / 1.311 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/2.417, allocations: 0.8596 MB / 1.677 GB, free: 16.91 MB / 1.311 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/2.424, allocations: 1.786 MB / 1.678 GB, free: 16.43 MB / 1.311 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/2.424, allocations: 208.6 kB / 1.679 GB, free: 16.42 MB / 1.311 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009944/2.425, allocations: 283.4 kB / 1.679 GB, free: 16.41 MB / 1.311 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/2.438, allocations: 3.594 MB / 1.682 GB, free: 16.05 MB / 1.311 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/2.438, allocations: 11.75 kB / 1.682 GB, free: 16.05 MB / 1.311 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/2.439, allocations: 117.6 kB / 1.682 GB, free: 16.05 MB / 1.311 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/2.439, allocations: 144.2 kB / 1.683 GB, free: 16.04 MB / 1.311 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008543/2.447, allocations: 3.288 MB / 1.686 GB, free: 16.01 MB / 1.311 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.02352/2.471, allocations: 14.09 MB / 1.7 GB, free: 7.758 MB / 1.311 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003892/2.475, allocations: 2.069 MB / 1.702 GB, free: 7.703 MB / 1.311 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/2.477, allocations: 1.248 MB / 1.703 GB, free: 7.684 MB / 1.311 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/2.477, allocations: 186.9 kB / 1.703 GB, free: 7.68 MB / 1.311 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/2.48, allocations: 1.227 MB / 1.704 GB, free: 7.602 MB / 1.311 GB
Notification: Performance of pre-optimization done (n=213): time 4.298e-06/2.48, allocations: 3.938 kB / 1.704 GB, free: 7.598 MB / 1.311 GB
Notification: Performance of matching and sorting (n=213): time 0.006443/2.486, allocations: 3.175 MB / 1.707 GB, free: 7.395 MB / 1.311 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/2.486, allocations: 77.94 kB / 1.707 GB, free: 7.332 MB / 1.311 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/2.488, allocations: 1.459 MB / 1.709 GB, free: 7.16 MB / 1.311 GB
Notification: Performance of collectPreVariables (initialization): time 0.000254/2.489, allocations: 66.08 kB / 1.709 GB, free: 7.129 MB / 1.311 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001172/2.49, allocations: 1.141 MB / 1.71 GB, free: 6.645 MB / 1.311 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009581/2.491, allocations: 0.7707 MB / 1.711 GB, free: 6.137 MB / 1.311 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/2.491, allocations: 357.7 kB / 1.711 GB, free: 6.109 MB / 1.311 GB
Notification: Performance of setup shared object (initialization): time 0.0001521/2.492, allocations: 302.1 kB / 1.711 GB, free: 5.812 MB / 1.311 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/2.493, allocations: 0.9142 MB / 1.712 GB, free: 5.805 MB / 1.311 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/2.495, allocations: 1.251 MB / 1.713 GB, free: 5.488 MB / 1.311 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/2.499, allocations: 2.335 MB / 1.716 GB, free: 5.148 MB / 1.311 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/2.499, allocations: 2.812 kB / 1.716 GB, free: 5.148 MB / 1.311 GB
Notification: Performance of matching and sorting (n=259) (initialization): time 0.005002/2.504, allocations: 2.608 MB / 1.718 GB, free: 4.922 MB / 1.311 GB
Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/2.504, allocations: 43.8 kB / 1.718 GB, free: 4.883 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/2.504, allocations: 8.438 kB / 1.718 GB, free: 4.883 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (initialization): time 4.514e-05/2.504, allocations: 17.09 kB / 1.718 GB, free: 4.883 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/2.506, allocations: 464 kB / 1.719 GB, free: 4.883 MB / 1.311 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.061e-05/2.506, allocations: 23.84 kB / 1.719 GB, free: 4.883 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/2.509, allocations: 201.7 kB / 1.719 GB, free: 4.773 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/2.509, allocations: 75.8 kB / 1.719 GB, free: 4.773 MB / 1.311 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.002697/2.512, allocations: 0.6815 MB / 1.72 GB, free: 4.539 MB / 1.311 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/2.513, allocations: 227.3 kB / 1.72 GB, free: 4.422 MB / 1.311 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/2.519, allocations: 2.527 MB / 1.722 GB, free: 3.379 MB / 1.311 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/2.519, allocations: 19.88 kB / 1.722 GB, free: 3.379 MB / 1.311 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.519, allocations: 0 / 1.722 GB, free: 3.379 MB / 1.311 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003839/2.523, allocations: 2.332 MB / 1.725 GB, free: 2.285 MB / 1.311 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/2.534, allocations: 5.512 MB / 1.73 GB, free: 4 kB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.534, allocations: 4.219 kB / 1.73 GB, free: 4 kB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/2.536, allocations: 478 kB / 1.731 GB, free: 15.99 MB / 1.326 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/2.536, allocations: 13.75 kB / 1.731 GB, free: 15.99 MB / 1.326 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/2.536, allocations: 52.39 kB / 1.731 GB, free: 15.96 MB / 1.326 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/2.536, allocations: 14.67 kB / 1.731 GB, free: 15.96 MB / 1.326 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.536, allocations: 2.875 kB / 1.731 GB, free: 15.96 MB / 1.326 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/2.542, allocations: 3.811 MB / 1.734 GB, free: 13.91 MB / 1.326 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001985/2.544, allocations: 481.6 kB / 1.735 GB, free: 13.59 MB / 1.326 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/2.545, allocations: 46 kB / 1.735 GB, free: 13.56 MB / 1.326 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/2.546, allocations: 59.72 kB / 1.735 GB, free: 13.52 MB / 1.326 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003125/2.547, allocations: 155.9 kB / 1.735 GB, free: 13.43 MB / 1.326 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/2.547, allocations: 76.72 kB / 1.735 GB, free: 13.4 MB / 1.326 GB
Notification: Performance of sorting global known variables: time 0.001549/2.548, allocations: 0.9905 MB / 1.736 GB, free: 12.87 MB / 1.326 GB
Notification: Performance of sort global known variables: time 8e-08/2.548, allocations: 0 / 1.736 GB, free: 12.87 MB / 1.326 GB
Notification: Performance of remove unused functions: time 0.002735/2.551, allocations: 0.9444 MB / 1.737 GB, free: 12.66 MB / 1.326 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.0008963/2.552, allocations: 395.5 kB / 1.737 GB, free: 12.45 MB / 1.326 GB
Notification: Performance of simCode: created initialization part: time 0.004126/2.556, allocations: 2.235 MB / 1.74 GB, free: 11.42 MB / 1.326 GB
Notification: Performance of simCode: created event and clocks part: time 6.573e-06/2.556, allocations: 0 / 1.74 GB, free: 11.42 MB / 1.326 GB
Notification: Performance of simCode: created simulation system equations: time 0.002012/2.558, allocations: 1.145 MB / 1.741 GB, free: 10.95 MB / 1.326 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/2.564, allocations: 1.287 MB / 1.742 GB, free: 10.25 MB / 1.326 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/2.575, allocations: 5.864 MB / 1.748 GB, free: 5.902 MB / 1.326 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/2.576, allocations: 1.968 MB / 1.75 GB, free: 3.898 MB / 1.326 GB
Notification: Performance of simCode: alias equations: time 0.003109/2.58, allocations: 0.721 MB / 1.75 GB, free: 3.176 MB / 1.326 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/2.58, allocations: 191.4 kB / 1.75 GB, free: 2.988 MB / 1.326 GB
Notification: Performance of SimCode: time 1.082e-06/2.58, allocations: 0 / 1.75 GB, free: 2.988 MB / 1.326 GB
Notification: Performance of Templates: time 0.09454/2.675, allocations: 49.51 MB / 1.799 GB, free: 2.211 MB / 1.373 GB
"
[Timeout remaining time 297]
make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 14.36243790667504]