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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8653/0.8653, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.897/1.897, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.483e-06/1.483e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.478e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1198/0.1198, allocations: 162.1 MB / 1.037 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1312, allocations: 9.519 MB / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.1326, allocations: 99.25 kB / 1.046 GB, free: 9.945 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1338, allocations: 0.6515 MB / 1.047 GB, free: 9.289 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.1375, allocations: 2.925 MB / 1.049 GB, free: 6.348 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1398, allocations: 1.731 MB / 1.051 GB, free: 4.613 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3693/0.5091, allocations: 7.418 MB / 1.058 GB, free: 51.2 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002447/0.5115, allocations: 2.186 MB / 1.06 GB, free: 51.07 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.5163, allocations: 4.073 MB / 1.064 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.5188, allocations: 2.555 MB / 1.067 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005083/0.5193, allocations: 342 kB / 1.067 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5208, allocations: 0.9903 MB / 1.068 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008415/0.5217, allocations: 1.599 MB / 1.07 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.5226, allocations: 1.384 MB / 1.071 GB, free: 51.05 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.525, allocations: 3.417 MB / 1.074 GB, free: 50.82 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.525, allocations: 3.125 kB / 1.074 GB, free: 50.82 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.382e-06/0.525, allocations: 0.875 kB / 1.074 GB, free: 50.82 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.103e-05/0.5251, allocations: 0 / 1.074 GB, free: 50.82 MB / 1.01 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.003939/0.529, allocations: 3.818 MB / 1.078 GB, free: 49.21 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.529, allocations: 11 kB / 1.078 GB, free: 49.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.5327, allocations: 1.571 MB / 1.08 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5343, allocations: 1.712 MB / 1.081 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/0.5344, allocations: 207.2 kB / 1.082 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.5347, allocations: 278.5 kB / 1.082 GB, free: 48.45 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.5376, allocations: 2.813 MB / 1.085 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.5377, allocations: 7.281 kB / 1.085 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.5379, allocations: 119.8 kB / 1.085 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.538, allocations: 140.1 kB / 1.085 GB, free: 47.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5404, allocations: 1.463 MB / 1.086 GB, free: 47.51 MB / 1.01 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.00728/0.5477, allocations: 9.397 MB / 1.096 GB, free: 43.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.5496, allocations: 1.406 MB / 1.097 GB, free: 43.29 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.5506, allocations: 0.7063 MB / 1.098 GB, free: 43.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.5507, allocations: 69.36 kB / 1.098 GB, free: 43.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.5518, allocations: 1.117 MB / 1.099 GB, free: 42.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.148e-06/0.5518, allocations: 0 / 1.099 GB, free: 42.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.003027/0.5548, allocations: 1.902 MB / 1.101 GB, free: 42.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.5549, allocations: 76.17 kB / 1.101 GB, free: 42.51 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.5559, allocations: 1.26 MB / 1.102 GB, free: 42.24 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5561, allocations: 67.48 kB / 1.102 GB, free: 42.21 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/0.5566, allocations: 1.256 MB / 1.103 GB, free: 41.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/0.557, allocations: 0.7765 MB / 1.104 GB, free: 41.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/0.5575, allocations: 411.7 kB / 1.104 GB, free: 41.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.413e-05/0.5575, allocations: 486.5 kB / 1.105 GB, free: 40.58 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008695/0.5584, allocations: 457 kB / 1.105 GB, free: 40.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.5594, allocations: 1.242 MB / 1.106 GB, free: 39.62 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.5612, allocations: 1.634 MB / 1.108 GB, free: 38.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5612, allocations: 3.969 kB / 1.108 GB, free: 38.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002535/0.5638, allocations: 1.879 MB / 1.11 GB, free: 38.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.5638, allocations: 38.47 kB / 1.11 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5638, allocations: 14.14 kB / 1.11 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.5638, allocations: 22.97 kB / 1.11 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5652, allocations: 0.5383 MB / 1.11 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/0.5652, allocations: 30.58 kB / 1.111 GB, free: 38.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.5663, allocations: 240.6 kB / 1.111 GB, free: 38.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.5664, allocations: 93.17 kB / 1.111 GB, free: 38.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (282): * Single equations (assignments): 281 * 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.0004342/0.5669, allocations: 297.3 kB / 1.111 GB, free: 38.33 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.5672, allocations: 284 kB / 1.111 GB, free: 38.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.5694, allocations: 1.622 MB / 1.113 GB, free: 38.1 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5694, allocations: 26.58 kB / 1.113 GB, free: 38.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5694, allocations: 0.5625 kB / 1.113 GB, free: 38.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.5712, allocations: 1.455 MB / 1.114 GB, free: 37.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.5761, allocations: 3.862 MB / 1.118 GB, free: 37.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5761, allocations: 3.359 kB / 1.118 GB, free: 37.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.5775, allocations: 0.4993 MB / 1.119 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.5776, allocations: 10.98 kB / 1.119 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.5777, allocations: 60.75 kB / 1.119 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.5777, allocations: 15.12 kB / 1.119 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5777, allocations: 3.625 kB / 1.119 GB, free: 37.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.5807, allocations: 2.355 MB / 1.121 GB, free: 36.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/0.5814, allocations: 483.2 kB / 1.122 GB, free: 36.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.5816, allocations: 46.73 kB / 1.122 GB, free: 36.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.5824, allocations: 100 kB / 1.122 GB, free: 36.44 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.5827, allocations: 155 kB / 1.122 GB, free: 36.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.5828, allocations: 73.64 kB / 1.122 GB, free: 36.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006991/0.5835, allocations: 0.735 MB / 1.123 GB, free: 36.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5835, allocations: 0 / 1.123 GB, free: 36.28 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001419/0.5849, allocations: 0.9754 MB / 1.124 GB, free: 36.13 MB / 1.01 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.0003209/0.5852, allocations: 211.7 kB / 1.124 GB, free: 36.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.5872, allocations: 1.492 MB / 1.125 GB, free: 35.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5872, allocations: 0 / 1.125 GB, free: 35.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.5881, allocations: 0.7607 MB / 1.126 GB, free: 35.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.5907, allocations: 1.186 MB / 1.127 GB, free: 35.71 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.596, allocations: 5.037 MB / 1.132 GB, free: 33.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.5964, allocations: 0.632 MB / 1.133 GB, free: 33.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00138/0.5978, allocations: 0.6152 MB / 1.133 GB, free: 33.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.5983, allocations: 198.1 kB / 1.133 GB, free: 33.26 MB / 1.01 GB Notification: Performance of SimCode: time 6.51e-07/0.5983, allocations: 0 / 1.133 GB, free: 33.26 MB / 1.01 GB Notification: Performance of Templates: time 0.04497/0.6433, allocations: 48.71 MB / 1.181 GB, free: 21.13 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.4055881798267365]