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.001568/0.001568, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001457/0.001457, allocations: 173 kB / 24.06 MB, free: 452 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.8825/0.8825, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.96/1.96, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.643e-06/1.643e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.827e-05, allocations: 5.641 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1381/0.1381, allocations: 159.1 MB / 1.035 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1488, allocations: 9.465 MB / 1.044 GB, free: 12.84 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1498, allocations: 99.25 kB / 1.044 GB, free: 12.74 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1509, allocations: 0.6477 MB / 1.045 GB, free: 12.09 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.1542, allocations: 2.925 MB / 1.048 GB, free: 9.148 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.1565, allocations: 1.738 MB / 1.049 GB, free: 7.406 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.3908/0.5473, allocations: 7.418 MB / 1.057 GB, free: 51.36 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.5505, allocations: 2.182 MB / 1.059 GB, free: 51.23 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.5559, allocations: 4.076 MB / 1.063 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.5589, allocations: 2.554 MB / 1.065 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0006017/0.5595, allocations: 341 kB / 1.066 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.5612, allocations: 0.9865 MB / 1.066 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.5622, allocations: 1.599 MB / 1.068 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.5637, allocations: 1.384 MB / 1.069 GB, free: 51.21 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.5665, allocations: 3.415 MB / 1.073 GB, free: 50.98 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5665, allocations: 2.844 kB / 1.073 GB, free: 50.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5665, allocations: 0 / 1.073 GB, free: 50.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001009/0.5666, allocations: 0 / 1.073 GB, free: 50.98 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.004634/0.5712, allocations: 3.834 MB / 1.076 GB, free: 49.37 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.5712, allocations: 9.094 kB / 1.076 GB, free: 49.37 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.5752, allocations: 1.566 MB / 1.078 GB, free: 49.09 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.577, allocations: 1.625 MB / 1.08 GB, free: 48.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.5771, allocations: 209.9 kB / 1.08 GB, free: 48.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/0.5774, allocations: 281.3 kB / 1.08 GB, free: 48.61 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.5799, allocations: 2.601 MB / 1.083 GB, free: 47.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.994e-05/0.58, allocations: 11.7 kB / 1.083 GB, free: 47.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.5801, allocations: 115.2 kB / 1.083 GB, free: 47.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.412e-05/0.5802, allocations: 139.9 kB / 1.083 GB, free: 47.72 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.582, allocations: 1.172 MB / 1.084 GB, free: 47.63 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.009022/0.591, allocations: 9.374 MB / 1.093 GB, free: 43.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.5928, allocations: 1.258 MB / 1.094 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.5936, allocations: 0.5974 MB / 1.095 GB, free: 43.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.5938, allocations: 68.08 kB / 1.095 GB, free: 43.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009436/0.5947, allocations: 1.034 MB / 1.096 GB, free: 42.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 5.099e-06/0.5947, allocations: 1.875 kB / 1.096 GB, free: 42.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.002681/0.5974, allocations: 1.629 MB / 1.098 GB, free: 42.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.5975, allocations: 77.03 kB / 1.098 GB, free: 42.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.5984, allocations: 1.235 MB / 1.099 GB, free: 42.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.5985, allocations: 67.39 kB / 1.099 GB, free: 42.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/0.5991, allocations: 1.271 MB / 1.1 GB, free: 41.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.5996, allocations: 0.7839 MB / 1.101 GB, free: 41.22 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.6001, allocations: 415 kB / 1.101 GB, free: 41.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.6001, allocations: 486.4 kB / 1.102 GB, free: 40.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.6006, allocations: 351.6 kB / 1.102 GB, free: 40.67 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.6015, allocations: 1.153 MB / 1.103 GB, free: 39.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.6028, allocations: 1.458 MB / 1.105 GB, free: 39.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.6028, allocations: 3.875 kB / 1.105 GB, free: 39.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002143/0.605, allocations: 1.667 MB / 1.106 GB, free: 38.76 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.605, allocations: 42.89 kB / 1.106 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.605, allocations: 12.53 kB / 1.106 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.605, allocations: 23.66 kB / 1.106 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6064, allocations: 0.5296 MB / 1.107 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.6064, allocations: 32.17 kB / 1.107 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.6076, allocations: 241.5 kB / 1.107 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6077, allocations: 75.58 kB / 1.107 GB, free: 38.62 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.0004794/0.6082, allocations: 296.3 kB / 1.108 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.6085, allocations: 285.8 kB / 1.108 GB, free: 38.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.6104, allocations: 1.445 MB / 1.109 GB, free: 38.22 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6104, allocations: 20.97 kB / 1.109 GB, free: 38.22 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6104, allocations: 0.7969 kB / 1.109 GB, free: 38.22 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.6118, allocations: 1.278 MB / 1.111 GB, free: 37.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.616, allocations: 3.273 MB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.616, allocations: 3.953 kB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.6174, allocations: 0.4911 MB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6174, allocations: 15.06 kB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.6175, allocations: 58.38 kB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.6175, allocations: 10.89 kB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.6175, allocations: 6.469 kB / 1.114 GB, free: 37.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.62, allocations: 2.087 MB / 1.116 GB, free: 36.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.6206, allocations: 450.5 kB / 1.117 GB, free: 36.61 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.6209, allocations: 49.34 kB / 1.117 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.6217, allocations: 93.8 kB / 1.117 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.622, allocations: 156.2 kB / 1.117 GB, free: 36.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6221, allocations: 60.72 kB / 1.117 GB, free: 36.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005794/0.6227, allocations: 0.6747 MB / 1.118 GB, free: 36.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6227, allocations: 2.562 kB / 1.118 GB, free: 36.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001696/0.6244, allocations: 0.976 MB / 1.119 GB, free: 36.3 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.0003436/0.6247, allocations: 217.7 kB / 1.119 GB, free: 36.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.6264, allocations: 1.298 MB / 1.12 GB, free: 36.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6264, allocations: 2.062 kB / 1.12 GB, free: 36.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.6272, allocations: 0.6721 MB / 1.121 GB, free: 36.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.6301, allocations: 1.183 MB / 1.122 GB, free: 35.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/0.6361, allocations: 5.024 MB / 1.127 GB, free: 33.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/0.6366, allocations: 0.6345 MB / 1.128 GB, free: 33.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001352/0.638, allocations: 399.9 kB / 1.128 GB, free: 33.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/0.6398, allocations: 0.9308 MB / 1.129 GB, free: 33.36 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.6398, allocations: 2.594 kB / 1.129 GB, free: 33.36 MB / 1.01 GB Notification: Performance of Templates: time 0.0513/0.6911, allocations: 50.99 MB / 1.179 GB, free: 20.98 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.826314024161547]