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.001529/0.001529, allocations: 78.72 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001919/0.001919, allocations: 167.2 kB / 22.46 MB, free: 5.363 MB / 14.72 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 3.072/3.072, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.014e-06/2.014e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.038e-05, allocations: 5.797 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.167/1.168, allocations: 261.6 MB / 1.256 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03749/1.205, allocations: 21.43 MB / 1.277 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006947/1.212, allocations: 101.6 kB / 1.277 GB, free: 13.51 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008136/1.22, allocations: 1.727 MB / 1.278 GB, free: 12.57 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.02614/1.246, allocations: 6.609 MB / 1.285 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/1.259, allocations: 3.025 MB / 1.288 GB, free: 7.441 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01615/1.275, allocations: 7.557 MB / 1.295 GB, free: 3.875 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/1.281, allocations: 2.1 MB / 1.297 GB, free: 2.898 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01733/1.298, allocations: 4.218 MB / 1.301 GB, free: 1.133 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008442/1.306, allocations: 2.542 MB / 1.304 GB, free: 332 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002038/1.309, allocations: 348.3 kB / 1.304 GB, free: 332 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/1.327, allocations: 5.022 MB / 1.309 GB, free: 14.44 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004426/1.331, allocations: 1.593 MB / 1.311 GB, free: 13.55 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006731/1.338, allocations: 1.401 MB / 1.312 GB, free: 12.86 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02566/1.364, allocations: 7.108 MB / 1.319 GB, free: 8.445 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/1.364, allocations: 3.984 kB / 1.319 GB, free: 8.441 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.014e-06/1.364, allocations: 0 / 1.319 GB, free: 8.441 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002646/1.364, allocations: 0 / 1.319 GB, free: 8.441 MB / 1.107 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.01816/1.382, allocations: 4.116 MB / 1.323 GB, free: 5.613 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/1.382, allocations: 11.19 kB / 1.323 GB, free: 5.613 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.393, allocations: 1.243 MB / 1.324 GB, free: 5.043 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/1.399, allocations: 1.813 MB / 1.326 GB, free: 3.789 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/1.399, allocations: 205.4 kB / 1.326 GB, free: 3.695 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001299/1.4, allocations: 283.9 kB / 1.326 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/1.412, allocations: 4.112 MB / 1.33 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/1.412, allocations: 6.875 kB / 1.33 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/1.413, allocations: 113.1 kB / 1.33 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/1.413, allocations: 148.8 kB / 1.331 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/1.423, allocations: 3.569 MB / 1.334 GB, free: 14.45 MB / 1.123 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.02721/1.451, allocations: 8.976 MB / 1.343 GB, free: 5.32 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007114/1.458, allocations: 2.382 MB / 1.345 GB, free: 2.934 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003745/1.461, allocations: 1.391 MB / 1.347 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/1.462, allocations: 53.97 kB / 1.347 GB, free: 1.492 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0044/1.466, allocations: 1.743 MB / 1.348 GB, free: 15.65 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 6.733e-06/1.466, allocations: 0 / 1.348 GB, free: 15.65 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.01082/1.477, allocations: 3.59 MB / 1.352 GB, free: 12.06 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.477, allocations: 81.41 kB / 1.352 GB, free: 11.97 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/1.48, allocations: 1.244 MB / 1.353 GB, free: 10.71 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003988/1.481, allocations: 75.3 kB / 1.353 GB, free: 10.64 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.482, allocations: 1.152 MB / 1.354 GB, free: 9.477 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.484, allocations: 0.759 MB / 1.355 GB, free: 8.711 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.485, allocations: 359.5 kB / 1.355 GB, free: 8.352 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.485, allocations: 305.1 kB / 1.356 GB, free: 8.051 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.488, allocations: 1.091 MB / 1.357 GB, free: 6.949 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/1.491, allocations: 1.562 MB / 1.358 GB, free: 5.227 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/1.497, allocations: 2.579 MB / 1.361 GB, free: 2.543 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/1.497, allocations: 4 kB / 1.361 GB, free: 2.539 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007972/1.505, allocations: 2.917 MB / 1.364 GB, free: 15.6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/1.506, allocations: 37.7 kB / 1.364 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.506, allocations: 7.375 kB / 1.364 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-05/1.506, allocations: 20 kB / 1.364 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/1.509, allocations: 0.4995 MB / 1.364 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.01e-05/1.509, allocations: 24.47 kB / 1.364 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/1.512, allocations: 206.7 kB / 1.364 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/1.512, allocations: 79.98 kB / 1.364 GB, free: 14.73 MB / 1.154 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.002697/1.515, allocations: 0.6929 MB / 1.365 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.516, allocations: 214.6 kB / 1.365 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/1.524, allocations: 2.791 MB / 1.368 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.524, allocations: 20 kB / 1.368 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.524, allocations: 4 kB / 1.368 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006162/1.53, allocations: 2.628 MB / 1.371 GB, free: 8.293 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.546, allocations: 5.286 MB / 1.376 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.546, allocations: 0 / 1.376 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/1.549, allocations: 0.5112 MB / 1.376 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.488e-05/1.549, allocations: 8 kB / 1.376 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/1.549, allocations: 59.97 kB / 1.376 GB, free: 2.352 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-05/1.549, allocations: 11.94 kB / 1.376 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.549, allocations: 7.938 kB / 1.376 GB, free: 2.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.561, allocations: 4.29 MB / 1.381 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.563, allocations: 486.2 kB / 1.381 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.564, allocations: 43.98 kB / 1.381 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.566, allocations: 103.8 kB / 1.381 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004836/1.567, allocations: 157.7 kB / 1.381 GB, free: 13.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000287/1.567, allocations: 72.83 kB / 1.381 GB, free: 13.15 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002326/1.569, allocations: 0.8414 MB / 1.382 GB, free: 12.31 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.569, allocations: 0 / 1.382 GB, free: 12.31 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004422/1.574, allocations: 0.9823 MB / 1.383 GB, free: 11.32 MB / 1.17 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.001081/1.575, allocations: 347.1 kB / 1.384 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007041/1.582, allocations: 2.561 MB / 1.386 GB, free: 8.398 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.582, allocations: 0 / 1.386 GB, free: 8.398 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.586, allocations: 1.312 MB / 1.387 GB, free: 7.094 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007949/1.593, allocations: 1.148 MB / 1.388 GB, free: 5.977 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.61, allocations: 5.69 MB / 1.394 GB, free: 224 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/1.613, allocations: 1.422 MB / 1.395 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004703/1.618, allocations: 0.6999 MB / 1.396 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.619, allocations: 192.4 kB / 1.396 GB, free: 13.86 MB / 1.186 GB Notification: Performance of SimCode: time 2.715e-06/1.619, allocations: 0 / 1.396 GB, free: 13.86 MB / 1.186 GB Notification: Performance of Templates: time 0.09869/1.718, allocations: 47.4 MB / 1.443 GB, free: 15.36 MB / 1.232 GB " [Timeout remaining time 298] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.758156891912222]