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.001099/0.001099, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001129/0.001129, allocations: 161 kB / 24.16 MB, free: 336 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 1.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2/2, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.044e-06/2.044e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.789e-05, allocations: 11.55 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.168/0.1681, allocations: 161.2 MB / 0.9176 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.1847, allocations: 9.539 MB / 0.9269 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.1882, allocations: 99.25 kB / 0.927 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1897, allocations: 0.6438 MB / 0.9276 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.1957, allocations: 2.855 MB / 0.9304 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.1995, allocations: 1.723 MB / 0.9321 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.008893/0.2084, allocations: 7.35 MB / 0.9393 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005509/0.2139, allocations: 2.378 MB / 0.9416 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009127/0.223, allocations: 4.001 MB / 0.9455 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.2273, allocations: 2.404 MB / 0.9478 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.2284, allocations: 340 kB / 0.9482 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.2307, allocations: 0.9593 MB / 0.9491 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.232, allocations: 1.59 MB / 0.9506 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.2343, allocations: 1.368 MB / 0.952 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.2383, allocations: 3.365 MB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2383, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2383, allocations: 4 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000139/0.2384, allocations: 0 / 0.9553 GB, free: 14.29 MB / 0.9167 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.005327/0.2438, allocations: 3.57 MB / 0.9588 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2438, allocations: 8.031 kB / 0.9588 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.2467, allocations: 1.064 MB / 0.9598 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.2486, allocations: 1.344 MB / 0.9611 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.2487, allocations: 205.4 kB / 0.9613 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.249, allocations: 283.9 kB / 0.9616 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.2514, allocations: 2.463 MB / 0.964 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.2515, allocations: 3.938 kB / 0.964 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.2516, allocations: 123.9 kB / 0.9641 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.2517, allocations: 141.3 kB / 0.9642 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.2534, allocations: 1.025 MB / 0.9652 GB, free: 3.727 MB / 0.9167 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.007386/0.2608, allocations: 6.981 MB / 0.9721 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.2621, allocations: 1.085 MB / 0.9731 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.2626, allocations: 0.4959 MB / 0.9736 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.263, allocations: 141.9 kB / 0.9737 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008629/0.2638, allocations: 0.9693 MB / 0.9747 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=213): time 4.037e-06/0.2638, allocations: 0 / 0.9747 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of matching and sorting (n=213): time 0.001656/0.2655, allocations: 1.143 MB / 0.9758 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2655, allocations: 81.28 kB / 0.9759 GB, free: 8.555 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.2663, allocations: 1.08 MB / 0.9769 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.2664, allocations: 65.7 kB / 0.977 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.2669, allocations: 0.9701 MB / 0.9779 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.2673, allocations: 0.7745 MB / 0.9787 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.2678, allocations: 371.9 kB / 0.9791 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.2679, allocations: 305.1 kB / 0.9794 GB, free: 4.961 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.2682, allocations: 293.1 kB / 0.9796 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.2689, allocations: 0.8629 MB / 0.9805 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2701, allocations: 1.221 MB / 0.9817 GB, free: 2.168 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.2701, allocations: 8 kB / 0.9817 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001472/0.2716, allocations: 1.23 MB / 0.9829 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.2716, allocations: 37.7 kB / 0.9829 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.2717, allocations: 12 kB / 0.9829 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.2717, allocations: 24 kB / 0.9829 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.2728, allocations: 0.5071 MB / 0.9834 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.2728, allocations: 31.91 kB / 0.9835 GB, free: 300 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.2737, allocations: 202.3 kB / 0.9837 GB, free: 96 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.2738, allocations: 71.98 kB / 0.9837 GB, free: 24 kB / 0.9323 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.0004292/0.2742, allocations: 244 kB / 0.984 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.2745, allocations: 199.8 kB / 0.9842 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.2758, allocations: 1.1 MB / 0.9852 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.2758, allocations: 20 kB / 0.9853 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2758, allocations: 3.938 kB / 0.9853 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.2769, allocations: 0.9371 MB / 0.9862 GB, free: 13.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.2802, allocations: 2.583 MB / 0.9887 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2802, allocations: 4 kB / 0.9887 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.2815, allocations: 0.5355 MB / 0.9892 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.2815, allocations: 8 kB / 0.9892 GB, free: 10.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.2816, allocations: 47.98 kB / 0.9893 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.2816, allocations: 15.98 kB / 0.9893 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2816, allocations: 7.938 kB / 0.9893 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.2834, allocations: 1.625 MB / 0.9909 GB, free: 8.461 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.2838, allocations: 330.1 kB / 0.9912 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.284, allocations: 59.86 kB / 0.9913 GB, free: 8.078 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.2846, allocations: 51.98 kB / 0.9913 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.2848, allocations: 153.6 kB / 0.9915 GB, free: 7.875 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.2849, allocations: 43.98 kB / 0.9915 GB, free: 7.832 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004275/0.2853, allocations: 0.5353 MB / 0.992 GB, free: 7.297 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2853, allocations: 0 / 0.992 GB, free: 7.297 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001554/0.2869, allocations: 0.9628 MB / 0.993 GB, free: 6.332 MB / 0.948 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.0003649/0.2872, allocations: 219.3 kB / 0.9932 GB, free: 6.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.2884, allocations: 1.081 MB / 0.9942 GB, free: 5.012 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/0.2884, allocations: 20.5 kB / 0.9942 GB, free: 4.992 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.2889, allocations: 0.5516 MB / 0.9948 GB, free: 4.441 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.2913, allocations: 1.215 MB / 0.996 GB, free: 3.246 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.2967, allocations: 4.471 MB / 1 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.2972, allocations: 0.6149 MB / 1.001 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001183/0.2984, allocations: 393.8 kB / 1.001 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/0.3, allocations: 0.7839 MB / 1.002 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of SimCode: time 1.713e-06/0.3, allocations: 0 / 1.002 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of Templates: time 0.5232/0.8231, allocations: 46.59 MB / 1.048 GB, free: 151.1 MB / 0.9948 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 -s gbode -gbm=radauIIA3 -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: 7.245509678032249]