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.001725/0.001725, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002242/0.002242, allocations: 213.7 kB / 22.99 MB, free: 4.945 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.653/1.653, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.56/3.56, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 68.08 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5272, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.617/2.144, allocations: 262.3 MB / 1.621 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0407/2.185, allocations: 21.51 MB / 1.642 GB, free: 4.281 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005915/2.191, allocations: 105.4 kB / 1.642 GB, free: 4.281 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007052/2.198, allocations: 1.705 MB / 1.644 GB, free: 4.254 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02357/2.222, allocations: 6.453 MB / 1.65 GB, free: 4.02 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/2.233, allocations: 2.97 MB / 1.653 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01497/2.248, allocations: 7.432 MB / 1.66 GB, free: 3.93 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005676/2.254, allocations: 2.149 MB / 1.662 GB, free: 3.777 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/2.267, allocations: 3.288 MB / 1.665 GB, free: 3.773 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009634/2.277, allocations: 2.744 MB / 1.668 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001921/2.279, allocations: 347.9 kB / 1.668 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01999/2.299, allocations: 4.941 MB / 1.673 GB, free: 3.711 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004772/2.303, allocations: 1.508 MB / 1.675 GB, free: 3.711 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006562/2.31, allocations: 1.62 MB / 1.676 GB, free: 3.43 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01996/2.33, allocations: 6.858 MB / 1.683 GB, free: 2.645 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/2.33, allocations: 2.531 kB / 1.683 GB, free: 2.645 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.224e-06/2.33, allocations: 0.9062 kB / 1.683 GB, free: 2.645 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002164/2.33, allocations: 0 / 1.683 GB, free: 2.645 MB / 1.295 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.01372/2.344, allocations: 4.148 MB / 1.687 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/2.344, allocations: 9.625 kB / 1.687 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008323/2.352, allocations: 1.243 MB / 1.688 GB, free: 0.75 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/2.358, allocations: 1.809 MB / 1.69 GB, free: 280 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/2.358, allocations: 215.7 kB / 1.69 GB, free: 272 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009712/2.359, allocations: 272.4 kB / 1.69 GB, free: 268 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/2.368, allocations: 4.11 MB / 1.694 GB, free: 15.5 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/2.368, allocations: 5.25 kB / 1.694 GB, free: 15.5 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/2.368, allocations: 115.8 kB / 1.695 GB, free: 15.5 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/2.368, allocations: 149.9 kB / 1.695 GB, free: 15.49 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007709/2.376, allocations: 3.566 MB / 1.698 GB, free: 15.46 MB / 1.311 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.02054/2.397, allocations: 8.985 MB / 1.707 GB, free: 12.52 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005829/2.403, allocations: 2.394 MB / 1.709 GB, free: 12.46 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00288/2.405, allocations: 1.397 MB / 1.711 GB, free: 12.44 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/2.406, allocations: 54.31 kB / 1.711 GB, free: 12.43 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003283/2.409, allocations: 1.736 MB / 1.712 GB, free: 11.95 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.26e-06/2.409, allocations: 0 / 1.712 GB, free: 11.95 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.00872/2.418, allocations: 3.591 MB / 1.716 GB, free: 11.75 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/2.418, allocations: 75.38 kB / 1.716 GB, free: 11.69 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/2.421, allocations: 1.257 MB / 1.717 GB, free: 11.51 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/2.422, allocations: 65.33 kB / 1.717 GB, free: 11.48 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/2.423, allocations: 1.147 MB / 1.718 GB, free: 10.61 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/2.425, allocations: 0.7728 MB / 1.719 GB, free: 10.01 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009918/2.426, allocations: 370.3 kB / 1.719 GB, free: 9.84 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000194/2.426, allocations: 306.9 kB / 1.72 GB, free: 9.539 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/2.429, allocations: 1.082 MB / 1.721 GB, free: 9.133 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/2.432, allocations: 1.564 MB / 1.722 GB, free: 8.215 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006324/2.438, allocations: 2.582 MB / 1.725 GB, free: 6.961 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/2.438, allocations: 0 / 1.725 GB, free: 6.961 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007772/2.446, allocations: 2.912 MB / 1.728 GB, free: 5.824 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/2.446, allocations: 37.97 kB / 1.728 GB, free: 5.793 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/2.446, allocations: 14.88 kB / 1.728 GB, free: 5.785 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.027e-05/2.446, allocations: 18.59 kB / 1.728 GB, free: 5.785 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/2.449, allocations: 0.4961 MB / 1.728 GB, free: 5.766 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.077e-05/2.449, allocations: 19.81 kB / 1.728 GB, free: 5.766 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/2.452, allocations: 219.4 kB / 1.728 GB, free: 5.641 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/2.453, allocations: 80.89 kB / 1.729 GB, free: 5.621 MB / 1.311 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.00269/2.455, allocations: 0.6957 MB / 1.729 GB, free: 5.254 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.457, allocations: 205.7 kB / 1.729 GB, free: 5.148 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008876/2.466, allocations: 2.798 MB / 1.732 GB, free: 4.035 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/2.466, allocations: 19.69 kB / 1.732 GB, free: 4.035 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/2.466, allocations: 0 / 1.732 GB, free: 4.035 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006693/2.472, allocations: 2.629 MB / 1.735 GB, free: 2.848 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/2.492, allocations: 5.297 MB / 1.74 GB, free: 0.6367 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/2.492, allocations: 3.062 kB / 1.74 GB, free: 0.6367 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/2.495, allocations: 0.5012 MB / 1.74 GB, free: 0.6172 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-05/2.495, allocations: 19 kB / 1.74 GB, free: 0.6094 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000445/2.495, allocations: 61.19 kB / 1.74 GB, free: 0.5781 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.111e-05/2.495, allocations: 14.25 kB / 1.741 GB, free: 0.5781 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.495, allocations: 2.562 kB / 1.741 GB, free: 0.5781 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/2.508, allocations: 4.321 MB / 1.745 GB, free: 14.5 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/2.51, allocations: 489.9 kB / 1.745 GB, free: 14.17 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/2.512, allocations: 49.41 kB / 1.745 GB, free: 14.13 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/2.515, allocations: 96.47 kB / 1.745 GB, free: 14.08 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/2.515, allocations: 156 kB / 1.745 GB, free: 13.98 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/2.516, allocations: 72.67 kB / 1.746 GB, free: 13.95 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002835/2.518, allocations: 0.8405 MB / 1.746 GB, free: 13.5 MB / 1.326 GB Notification: Performance of sort global known variables: time 1e-07/2.518, allocations: 2.656 kB / 1.746 GB, free: 13.5 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005101/2.523, allocations: 0.9792 MB / 1.747 GB, free: 13.27 MB / 1.326 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.001274/2.525, allocations: 338.1 kB / 1.748 GB, free: 13.08 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006997/2.532, allocations: 2.565 MB / 1.75 GB, free: 11.86 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/2.532, allocations: 2.219 kB / 1.75 GB, free: 11.86 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/2.535, allocations: 1.298 MB / 1.751 GB, free: 11.3 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007709/2.543, allocations: 1.158 MB / 1.753 GB, free: 10.67 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/2.559, allocations: 6.237 MB / 1.759 GB, free: 6.902 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/2.562, allocations: 1.43 MB / 1.76 GB, free: 6.148 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/2.563, allocations: 208.6 kB / 1.76 GB, free: 6.109 MB / 1.326 GB Notification: Performance of SimCode: time 2.124e-06/2.563, allocations: 0 / 1.76 GB, free: 6.109 MB / 1.326 GB Notification: Performance of Templates: time 0.08787/2.651, allocations: 43.75 MB / 1.803 GB, free: 12.55 MB / 1.373 GB " [Timeout remaining time 297] 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/jenkins1/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: 23.90267640631646]