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.001206/0.001206, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001331/0.001331, allocations: 177 kB / 23.36 MB, free: 1.129 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.909/0.909, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.269/2.269, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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 9.82e-07/9.82e-07, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.429e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1314/0.1314, allocations: 161.3 MB / 0.9962 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.1431, allocations: 9.706 MB / 1.006 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1441, allocations: 99.25 kB / 1.006 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1452, allocations: 0.6516 MB / 1.006 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.1487, allocations: 2.933 MB / 1.009 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1508, allocations: 1.719 MB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.005019/0.1558, allocations: 7.394 MB / 1.018 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/0.1584, allocations: 2.334 MB / 1.02 GB, free: 3.324 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.1629, allocations: 4.03 MB / 1.024 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.1652, allocations: 2.431 MB / 1.027 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.1656, allocations: 340 kB / 1.027 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.1669, allocations: 0.9983 MB / 1.028 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.168, allocations: 1.605 MB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1691, allocations: 1.388 MB / 1.031 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1717, allocations: 3.415 MB / 1.034 GB, free: 5.203 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1717, allocations: 4 kB / 1.034 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1717, allocations: 0 / 1.034 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.1717, allocations: 0 / 1.034 GB, free: 5.199 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.003912/0.1756, allocations: 3.589 MB / 1.038 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.1756, allocations: 12.03 kB / 1.038 GB, free: 1.543 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/0.1796, allocations: 1.524 MB / 1.039 GB, free: 16 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1811, allocations: 1.333 MB / 1.041 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1812, allocations: 209.4 kB / 1.041 GB, free: 14.42 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/0.1815, allocations: 287.9 kB / 1.041 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.184, allocations: 2.58 MB / 1.044 GB, free: 11.35 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/0.1841, allocations: 7.938 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1842, allocations: 115.9 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.395e-05/0.1843, allocations: 145.3 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1857, allocations: 1.087 MB / 1.045 GB, free: 9.969 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.006782/0.1925, allocations: 7.157 MB / 1.052 GB, free: 2.652 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1939, allocations: 1.194 MB / 1.053 GB, free: 1.445 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.1945, allocations: 0.5271 MB / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.1947, allocations: 69.97 kB / 1.054 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3853/0.58, allocations: 1.032 MB / 1.055 GB, free: 58.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.459e-06/0.58, allocations: 0 / 1.055 GB, free: 58.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.002398/0.5824, allocations: 1.215 MB / 1.056 GB, free: 58.62 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5825, allocations: 78.12 kB / 1.056 GB, free: 58.56 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5835, allocations: 1.102 MB / 1.057 GB, free: 58.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.5836, allocations: 66.67 kB / 1.057 GB, free: 58.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.5843, allocations: 0.9706 MB / 1.058 GB, free: 58.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.5847, allocations: 0.7688 MB / 1.059 GB, free: 57.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004419/0.5851, allocations: 373.8 kB / 1.059 GB, free: 57.76 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.689e-05/0.5851, allocations: 302.8 kB / 1.059 GB, free: 57.46 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.5857, allocations: 324.2 kB / 1.06 GB, free: 57.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.5863, allocations: 0.9064 MB / 1.061 GB, free: 56.73 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.5877, allocations: 1.262 MB / 1.062 GB, free: 56.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5877, allocations: 4.031 kB / 1.062 GB, free: 56.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001756/0.5895, allocations: 1.289 MB / 1.063 GB, free: 56.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5895, allocations: 38.3 kB / 1.063 GB, free: 56.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.5895, allocations: 14.45 kB / 1.063 GB, free: 56.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.5896, allocations: 23.56 kB / 1.063 GB, free: 56.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.591, allocations: 0.5592 MB / 1.064 GB, free: 56.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.591, allocations: 31.95 kB / 1.064 GB, free: 56.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.592, allocations: 236.9 kB / 1.064 GB, free: 55.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.5922, allocations: 70.88 kB / 1.064 GB, free: 55.98 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.0004419/0.5926, allocations: 254.9 kB / 1.064 GB, free: 55.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.5929, allocations: 201.5 kB / 1.064 GB, free: 55.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.5943, allocations: 1.16 MB / 1.066 GB, free: 55.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.5943, allocations: 20.25 kB / 1.066 GB, free: 55.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5943, allocations: 3.062 kB / 1.066 GB, free: 55.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.5954, allocations: 0.9849 MB / 1.067 GB, free: 55.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.5989, allocations: 2.7 MB / 1.069 GB, free: 54.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.599, allocations: 5.062 kB / 1.069 GB, free: 54.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.6006, allocations: 0.5827 MB / 1.07 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.6006, allocations: 12.91 kB / 1.07 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.6007, allocations: 51.61 kB / 1.07 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.6007, allocations: 10.16 kB / 1.07 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6007, allocations: 7.969 kB / 1.07 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.6029, allocations: 1.737 MB / 1.072 GB, free: 54.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.6034, allocations: 336.2 kB / 1.072 GB, free: 54.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.6036, allocations: 46.09 kB / 1.072 GB, free: 54.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.6043, allocations: 95 kB / 1.072 GB, free: 54.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.6046, allocations: 156.3 kB / 1.072 GB, free: 54.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6047, allocations: 50.83 kB / 1.072 GB, free: 54.41 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000499/0.6052, allocations: 0.5419 MB / 1.073 GB, free: 54.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6052, allocations: 2.391 kB / 1.073 GB, free: 54.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001501/0.6067, allocations: 0.9742 MB / 1.074 GB, free: 54.28 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.0003264/0.607, allocations: 190.9 kB / 1.074 GB, free: 54.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.6085, allocations: 1.148 MB / 1.075 GB, free: 54.06 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.657e-05/0.6085, allocations: 18 kB / 1.075 GB, free: 54.06 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.6093, allocations: 0.5925 MB / 1.076 GB, free: 54.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.612, allocations: 1.251 MB / 1.077 GB, free: 53.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/0.618, allocations: 4.656 MB / 1.081 GB, free: 52.03 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.6186, allocations: 0.616 MB / 1.082 GB, free: 51.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001485/0.6201, allocations: 399.6 kB / 1.082 GB, free: 51.87 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/0.622, allocations: 0.8073 MB / 1.083 GB, free: 51.79 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/0.6221, allocations: 1.422 kB / 1.083 GB, free: 51.79 MB / 1.01 GB Notification: Performance of Templates: time 0.0514/0.6734, allocations: 50.24 MB / 1.132 GB, free: 39.44 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 -s gbode -gbm=radauIIA3 -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.493879733607173]