Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001386/0.001386, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001503/0.001503, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9055/0.9055, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.659e-05, allocations: 4.547 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5988/0.5988, allocations: 295.2 MB / 1.1 GB, free: 48.21 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.6219, allocations: 23.69 MB / 1.123 GB, free: 47.99 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.6246, allocations: 100.8 kB / 1.123 GB, free: 47.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.6282, allocations: 1.731 MB / 1.125 GB, free: 47.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.6394, allocations: 6.539 MB / 1.131 GB, free: 46.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.6446, allocations: 3.016 MB / 1.134 GB, free: 46.65 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.006081/0.6507, allocations: 7.532 MB / 1.141 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.653, allocations: 2.238 MB / 1.144 GB, free: 45.04 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.6579, allocations: 4.241 MB / 1.148 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.6605, allocations: 2.577 MB / 1.15 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.6609, allocations: 342.1 kB / 1.151 GB, free: 44.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.6678, allocations: 4.986 MB / 1.155 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009409/0.6687, allocations: 1.604 MB / 1.157 GB, free: 43.74 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.6698, allocations: 1.387 MB / 1.158 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.6754, allocations: 5.459 MB / 1.164 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6754, allocations: 0 / 1.164 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6754, allocations: 8.875 kB / 1.164 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.917e-05/0.6754, allocations: 3.938 kB / 1.164 GB, free: 42.35 MB / 0.9948 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.004733/0.6802, allocations: 4.164 MB / 1.168 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6802, allocations: 12.16 kB / 1.168 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.6834, allocations: 1.186 MB / 1.169 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.6851, allocations: 1.742 MB / 1.171 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.6852, allocations: 212.4 kB / 1.171 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.6855, allocations: 287.5 kB / 1.171 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.6881, allocations: 2.672 MB / 1.174 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.6882, allocations: 6.156 kB / 1.174 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.6884, allocations: 114.7 kB / 1.174 GB, free: 37.08 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.784e-05/0.6885, allocations: 149.3 kB / 1.174 GB, free: 37.06 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6905, allocations: 1.357 MB / 1.175 GB, free: 36.82 MB / 0.9948 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.006465/0.6969, allocations: 9.133 MB / 1.184 GB, free: 31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.6984, allocations: 1.271 MB / 1.186 GB, free: 30.62 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.6992, allocations: 0.6447 MB / 1.186 GB, free: 30.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.6996, allocations: 200.9 kB / 1.186 GB, free: 30.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000852/0.7004, allocations: 1.049 MB / 1.187 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 3.236e-06/0.7004, allocations: 0 / 1.187 GB, free: 29.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.002355/0.7028, allocations: 1.756 MB / 1.189 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.7028, allocations: 77.72 kB / 1.189 GB, free: 29.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.7037, allocations: 1.169 MB / 1.19 GB, free: 28.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.7038, allocations: 65.25 kB / 1.19 GB, free: 28.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.7043, allocations: 1.186 MB / 1.192 GB, free: 27.84 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.7046, allocations: 0.7753 MB / 1.192 GB, free: 27.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.7049, allocations: 370.1 kB / 1.193 GB, free: 27.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.705, allocations: 480.2 kB / 1.193 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.7055, allocations: 391.1 kB / 1.193 GB, free: 26.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.7062, allocations: 0.9752 MB / 1.194 GB, free: 25.74 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.7075, allocations: 1.298 MB / 1.196 GB, free: 25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7076, allocations: 7.312 kB / 1.196 GB, free: 24.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.001887/0.7094, allocations: 1.621 MB / 1.197 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.7095, allocations: 37.08 kB / 1.197 GB, free: 24.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7095, allocations: 7.531 kB / 1.197 GB, free: 24.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.7095, allocations: 17.34 kB / 1.197 GB, free: 24.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.7105, allocations: 459.6 kB / 1.198 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.7105, allocations: 19.39 kB / 1.198 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.7113, allocations: 170 kB / 1.198 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/0.7114, allocations: 82.98 kB / 1.198 GB, free: 24.29 MB / 0.9948 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.0003693/0.7118, allocations: 270.4 kB / 1.198 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.712, allocations: 282.1 kB / 1.199 GB, free: 23.92 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.7138, allocations: 1.527 MB / 1.2 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.7138, allocations: 18.88 kB / 1.2 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7138, allocations: 7.938 kB / 1.2 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/0.7151, allocations: 1.358 MB / 1.201 GB, free: 22.79 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.719, allocations: 3.644 MB / 1.205 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.719, allocations: 6.406 kB / 1.205 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.72, allocations: 458.4 kB / 1.205 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.72, allocations: 9.188 kB / 1.205 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/0.7201, allocations: 58.16 kB / 1.205 GB, free: 21.15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.7201, allocations: 22.41 kB / 1.205 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7201, allocations: 3.344 kB / 1.205 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.7224, allocations: 2.19 MB / 1.208 GB, free: 20.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.7229, allocations: 442.6 kB / 1.208 GB, free: 20.03 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7231, allocations: 44.88 kB / 1.208 GB, free: 20 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.7237, allocations: 63.8 kB / 1.208 GB, free: 19.97 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.7239, allocations: 155.4 kB / 1.208 GB, free: 19.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.574e-05/0.724, allocations: 67.17 kB / 1.208 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005329/0.7246, allocations: 0.7077 MB / 1.209 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7246, allocations: 0 / 1.209 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001254/0.7258, allocations: 0.9656 MB / 1.21 GB, free: 19.43 MB / 0.9948 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.0004118/0.7262, allocations: 382.9 kB / 1.21 GB, free: 19.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.7276, allocations: 1.305 MB / 1.212 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7276, allocations: 7.094 kB / 1.212 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.7283, allocations: 0.6978 MB / 1.212 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.7308, allocations: 1.169 MB / 1.213 GB, free: 18.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.7357, allocations: 4.832 MB / 1.218 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.7361, allocations: 0.6286 MB / 1.219 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001192/0.7373, allocations: 0.5882 MB / 1.219 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.7377, allocations: 188.9 kB / 1.22 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/0.7377, allocations: 0 / 1.22 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.04227/0.78, allocations: 44.48 MB / 1.263 GB, free: 11.92 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1793643839191645]