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.001505/0.001505, allocations: 92.22 kB / 19.65 MB, free: 276 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.001827/0.001827, 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.9857/0.9857, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 2.06/2.06, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.605e-06/2.605e-06, allocations: 4.766 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.944e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1346/0.1346, allocations: 162.1 MB / 1.037 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.1466, allocations: 9.508 MB / 1.046 GB, free: 10.06 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1479, allocations: 103.2 kB / 1.046 GB, free: 9.961 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.1491, allocations: 0.6516 MB / 1.047 GB, free: 9.305 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.153, allocations: 2.91 MB / 1.049 GB, free: 6.379 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1555, allocations: 1.734 MB / 1.051 GB, free: 4.641 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4609/0.6164, allocations: 7.423 MB / 1.058 GB, free: 50.99 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.6192, allocations: 2.184 MB / 1.06 GB, free: 50.86 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.624, allocations: 3.63 MB / 1.064 GB, free: 50.85 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.6272, allocations: 2.603 MB / 1.067 GB, free: 50.84 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0006729/0.6279, allocations: 346.8 kB / 1.067 GB, free: 50.84 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.6299, allocations: 1.098 MB / 1.068 GB, free: 50.84 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.6309, allocations: 1.62 MB / 1.07 GB, free: 50.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.6321, allocations: 1.406 MB / 1.071 GB, free: 50.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.635, allocations: 3.48 MB / 1.074 GB, free: 50.61 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.635, allocations: 0.6562 kB / 1.074 GB, free: 50.61 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.304e-06/0.635, allocations: 3.281 kB / 1.074 GB, free: 50.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.097e-05/0.6351, allocations: 0.6562 kB / 1.074 GB, free: 50.61 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.004278/0.6393, allocations: 3.864 MB / 1.078 GB, free: 49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6394, allocations: 11.03 kB / 1.078 GB, free: 49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/0.6434, allocations: 1.637 MB / 1.08 GB, free: 48.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.6454, allocations: 1.764 MB / 1.081 GB, free: 48.23 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.716e-05/0.6455, allocations: 208.1 kB / 1.082 GB, free: 48.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.6458, allocations: 289.7 kB / 1.082 GB, free: 48.22 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.6489, allocations: 2.803 MB / 1.085 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/0.649, allocations: 8.094 kB / 1.085 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.6492, allocations: 118.3 kB / 1.085 GB, free: 47.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.6493, allocations: 150.2 kB / 1.085 GB, free: 47.33 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.6519, allocations: 1.453 MB / 1.086 GB, free: 47.28 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.007833/0.6597, allocations: 9.439 MB / 1.096 GB, free: 43.12 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.6618, allocations: 1.404 MB / 1.097 GB, free: 43.06 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009821/0.6628, allocations: 0.7042 MB / 1.098 GB, free: 43.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.663, allocations: 69.14 kB / 1.098 GB, free: 43.04 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.6641, allocations: 1.119 MB / 1.099 GB, free: 42.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.187e-06/0.6641, allocations: 0.5938 kB / 1.099 GB, free: 42.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.003169/0.6672, allocations: 1.894 MB / 1.101 GB, free: 42.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6673, allocations: 74.73 kB / 1.101 GB, free: 42.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.6684, allocations: 1.183 MB / 1.102 GB, free: 42.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.6685, allocations: 67.98 kB / 1.102 GB, free: 42.01 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005939/0.6691, allocations: 1.204 MB / 1.103 GB, free: 41.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.6695, allocations: 0.7698 MB / 1.104 GB, free: 40.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000489/0.67, allocations: 375.8 kB / 1.104 GB, free: 40.89 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.67, allocations: 482.5 kB / 1.105 GB, free: 40.42 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.6708, allocations: 442.6 kB / 1.105 GB, free: 40.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.6718, allocations: 1.012 MB / 1.106 GB, free: 39.74 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.6736, allocations: 1.372 MB / 1.107 GB, free: 39.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6736, allocations: 2.375 kB / 1.107 GB, free: 39.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002501/0.6761, allocations: 1.715 MB / 1.109 GB, free: 39.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.6761, allocations: 40.44 kB / 1.109 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6762, allocations: 6.125 kB / 1.109 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.6762, allocations: 17.94 kB / 1.109 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.6775, allocations: 0.4907 MB / 1.11 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.6775, allocations: 25.14 kB / 1.11 GB, free: 39.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6786, allocations: 206.4 kB / 1.11 GB, free: 38.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.6787, allocations: 82.83 kB / 1.11 GB, free: 38.92 MB / 1.01 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.0004261/0.6791, allocations: 277.3 kB / 1.11 GB, free: 38.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.6794, allocations: 274.7 kB / 1.11 GB, free: 38.65 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.6819, allocations: 1.618 MB / 1.112 GB, free: 38.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.682, allocations: 22.16 kB / 1.112 GB, free: 38.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.682, allocations: 0 / 1.112 GB, free: 38.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.6841, allocations: 1.455 MB / 1.113 GB, free: 38.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.6898, allocations: 3.876 MB / 1.117 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6898, allocations: 2.844 kB / 1.117 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/0.6913, allocations: 0.4982 MB / 1.118 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.6913, allocations: 11.83 kB / 1.118 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.6914, allocations: 57.84 kB / 1.118 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.6914, allocations: 14.94 kB / 1.118 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6914, allocations: 2.438 kB / 1.118 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.6947, allocations: 2.351 MB / 1.12 GB, free: 37.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.6954, allocations: 479.9 kB / 1.121 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6956, allocations: 46.98 kB / 1.121 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.6964, allocations: 99.36 kB / 1.121 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.6967, allocations: 157 kB / 1.121 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6968, allocations: 72.53 kB / 1.121 GB, free: 36.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007739/0.6976, allocations: 0.7144 MB / 1.122 GB, free: 36.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6976, allocations: 1.734 kB / 1.122 GB, free: 36.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001702/0.6993, allocations: 0.9707 MB / 1.123 GB, free: 36.57 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.0003754/0.6997, allocations: 209.7 kB / 1.123 GB, free: 36.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.7018, allocations: 1.42 MB / 1.124 GB, free: 36.31 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7018, allocations: 0.9844 kB / 1.124 GB, free: 36.31 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/0.7028, allocations: 0.7562 MB / 1.125 GB, free: 36.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.7056, allocations: 1.18 MB / 1.126 GB, free: 36.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.7116, allocations: 5.042 MB / 1.131 GB, free: 33.99 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.7121, allocations: 0.6339 MB / 1.132 GB, free: 33.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001462/0.7136, allocations: 0.5891 MB / 1.132 GB, free: 33.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/0.7142, allocations: 194.1 kB / 1.132 GB, free: 33.72 MB / 1.01 GB Notification: Performance of SimCode: time 8.22e-07/0.7142, allocations: 1.203 kB / 1.132 GB, free: 33.72 MB / 1.01 GB Notification: Performance of Templates: time 0.0435/0.7577, allocations: 46.12 MB / 1.177 GB, free: 23.07 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.865290203131735]