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.0007432/0.0007432, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008785/0.001622, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006838/0.0006838, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008285/0.001512, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9272/0.9272, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09262/1.02, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.354/2.354, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.592, allocations: 145.9 MB / 0.817 GB, free: 4.246 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.755e-06/2.755e-06, allocations: 3.984 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.656e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1589/0.1589, allocations: 161.8 MB / 0.9763 GB, free: 476 kB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.1729, allocations: 9.815 MB / 0.9859 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.1754, allocations: 99.25 kB / 0.986 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1769, allocations: 0.6594 MB / 0.9867 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.1819, allocations: 2.909 MB / 0.9895 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.1848, allocations: 1.731 MB / 0.9912 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.006999/0.1918, allocations: 7.453 MB / 0.9985 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.1951, allocations: 2.333 MB / 1.001 GB, free: 7.395 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.2019, allocations: 4.317 MB / 1.005 GB, free: 3.18 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.2052, allocations: 2.443 MB / 1.007 GB, free: 0.7305 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0006527/0.2059, allocations: 340 kB / 1.008 GB, free: 408 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.2077, allocations: 0.9866 MB / 1.009 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.2091, allocations: 1.376 MB / 1.01 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.2108, allocations: 1.151 MB / 1.011 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.2148, allocations: 3.131 MB / 1.014 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.51e-05/0.2148, allocations: 0 / 1.014 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2148, allocations: 0 / 1.014 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001294/0.2149, allocations: 7.938 kB / 1.014 GB, free: 9.73 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.005074/0.22, allocations: 4.442 MB / 1.019 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.22, allocations: 8.031 kB / 1.019 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.2236, allocations: 1.547 MB / 1.02 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2255, allocations: 1.329 MB / 1.021 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2256, allocations: 213.4 kB / 1.022 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.2259, allocations: 283.9 kB / 1.022 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.2285, allocations: 2.587 MB / 1.024 GB, free: 14.99 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.2286, allocations: 0 / 1.024 GB, free: 14.99 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.2287, allocations: 127.9 kB / 1.024 GB, free: 14.86 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.732e-05/0.2288, allocations: 141.3 kB / 1.025 GB, free: 14.72 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.2303, allocations: 1.107 MB / 1.026 GB, free: 13.59 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.007681/0.2379, allocations: 7.219 MB / 1.033 GB, free: 6.211 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2393, allocations: 1.148 MB / 1.034 GB, free: 5.051 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.2399, allocations: 0.531 MB / 1.034 GB, free: 4.527 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.2401, allocations: 77.95 kB / 1.034 GB, free: 4.449 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008602/0.241, allocations: 1.039 MB / 1.035 GB, free: 3.316 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 5.039e-06/0.241, allocations: 0 / 1.035 GB, free: 3.316 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.001796/0.2428, allocations: 1.218 MB / 1.037 GB, free: 2.098 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2428, allocations: 77.41 kB / 1.037 GB, free: 2.008 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/0.2437, allocations: 1.1 MB / 1.038 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.2438, allocations: 73.7 kB / 1.038 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.4331/0.6768, allocations: 0.9633 MB / 1.039 GB, free: 70.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008469/0.6777, allocations: 0.7688 MB / 1.04 GB, free: 70.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/0.6782, allocations: 375.6 kB / 1.04 GB, free: 70.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.19e-05/0.6782, allocations: 303 kB / 1.04 GB, free: 69.95 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.6788, allocations: 326.3 kB / 1.041 GB, free: 69.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/0.6795, allocations: 0.9046 MB / 1.041 GB, free: 69.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.681, allocations: 1.267 MB / 1.043 GB, free: 68.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.681, allocations: 4.906 kB / 1.043 GB, free: 68.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002096/0.6831, allocations: 1.291 MB / 1.044 GB, free: 68.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.6831, allocations: 41.38 kB / 1.044 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6832, allocations: 12.81 kB / 1.044 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.6832, allocations: 23.97 kB / 1.044 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.6848, allocations: 0.6087 MB / 1.045 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.6848, allocations: 35.77 kB / 1.045 GB, free: 68.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6861, allocations: 236.5 kB / 1.045 GB, free: 68.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.6862, allocations: 74.56 kB / 1.045 GB, free: 68.48 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.0006312/0.6869, allocations: 247.5 kB / 1.045 GB, free: 68.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.6872, allocations: 199.7 kB / 1.045 GB, free: 68.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.6889, allocations: 1.161 MB / 1.046 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.6889, allocations: 26.59 kB / 1.046 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6889, allocations: 1.5 kB / 1.046 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.6901, allocations: 0.9865 MB / 1.047 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.6956, allocations: 2.706 MB / 1.05 GB, free: 67.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6956, allocations: 4.016 kB / 1.05 GB, free: 67.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/0.6977, allocations: 0.6293 MB / 1.051 GB, free: 67.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009281/0.6986, allocations: 339.8 kB / 1.051 GB, free: 67.29 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.318e-05/0.6986, allocations: 11.08 kB / 1.051 GB, free: 67.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.6987, allocations: 49.44 kB / 1.051 GB, free: 67.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.6988, allocations: 11.77 kB / 1.051 GB, free: 67.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6988, allocations: 5.438 kB / 1.051 GB, free: 67.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.7013, allocations: 1.746 MB / 1.053 GB, free: 66.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.7016, allocations: 46.08 kB / 1.053 GB, free: 66.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.7025, allocations: 93.67 kB / 1.053 GB, free: 66.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.7027, allocations: 151.1 kB / 1.053 GB, free: 66.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7029, allocations: 56.67 kB / 1.053 GB, free: 66.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006265/0.7035, allocations: 0.5453 MB / 1.054 GB, free: 66.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7035, allocations: 0.7812 kB / 1.054 GB, free: 66.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00201/0.7055, allocations: 0.9872 MB / 1.055 GB, free: 66.77 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.0004109/0.7059, allocations: 212.2 kB / 1.055 GB, free: 66.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.7076, allocations: 1.157 MB / 1.056 GB, free: 66.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.634e-05/0.7077, allocations: 42.16 kB / 1.056 GB, free: 66.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.7087, allocations: 0.593 MB / 1.057 GB, free: 66.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/0.7131, allocations: 1.466 MB / 1.058 GB, free: 66.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.7337, allocations: 4.917 MB / 1.063 GB, free: 64.37 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.7347, allocations: 0.6403 MB / 1.063 GB, free: 64.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002777/0.7374, allocations: 398.3 kB / 1.064 GB, free: 64.22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/0.7399, allocations: 0.8049 MB / 1.065 GB, free: 64.14 MB / 1.01 GB Notification: Performance of SimCode: time 2.234e-06/0.7399, allocations: 1.562 kB / 1.065 GB, free: 64.14 MB / 1.01 GB Notification: Performance of Templates: time 0.072/0.8119, allocations: 53.07 MB / 1.116 GB, free: 49.75 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.ref.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.3333972450345755]