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.001951/0.001951, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002496/0.002496, allocations: 221.2 kB / 22.3 MB, free: 5.305 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.553/1.553, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.376/3.376, allocations: 0.5094 GB / 0.8146 GB, free: 18.82 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.003438/0.003438, allocations: 63.58 kB / 1.184 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4461, allocations: 181.5 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.441/1.887, allocations: 262.3 MB / 1.618 GB, free: 4.359 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03625/1.924, allocations: 21.5 MB / 1.639 GB, free: 4.301 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005479/1.929, allocations: 101 kB / 1.639 GB, free: 4.301 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006714/1.936, allocations: 1.708 MB / 1.641 GB, free: 4.27 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02281/1.959, allocations: 6.454 MB / 1.647 GB, free: 4.031 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/1.97, allocations: 2.967 MB / 1.65 GB, free: 3.961 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01457/1.984, allocations: 7.439 MB / 1.657 GB, free: 3.941 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005386/1.99, allocations: 2.152 MB / 1.659 GB, free: 3.789 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0122/2.002, allocations: 3.291 MB / 1.662 GB, free: 3.785 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008744/2.011, allocations: 2.751 MB / 1.665 GB, free: 3.781 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001831/2.012, allocations: 348.3 kB / 1.665 GB, free: 3.781 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/2.03, allocations: 4.937 MB / 1.67 GB, free: 3.723 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004685/2.035, allocations: 1.507 MB / 1.672 GB, free: 3.723 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006169/2.041, allocations: 1.621 MB / 1.673 GB, free: 3.492 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/2.061, allocations: 6.86 MB / 1.68 GB, free: 2.707 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/2.061, allocations: 0 / 1.68 GB, free: 2.707 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.984e-06/2.061, allocations: 0 / 1.68 GB, free: 2.707 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001852/2.061, allocations: 4.938 kB / 1.68 GB, free: 2.703 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.013/2.074, allocations: 4.159 MB / 1.684 GB, free: 0.9961 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/2.074, allocations: 11.41 kB / 1.684 GB, free: 0.9961 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008348/2.083, allocations: 1.24 MB / 1.685 GB, free: 0.8125 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/2.087, allocations: 1.811 MB / 1.687 GB, free: 340 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/2.087, allocations: 210.3 kB / 1.687 GB, free: 332 kB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/2.088, allocations: 276.4 kB / 1.687 GB, free: 332 kB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007586/2.095, allocations: 4.109 MB / 1.691 GB, free: 15.56 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.148e-05/2.096, allocations: 8.453 kB / 1.692 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/2.096, allocations: 114.8 kB / 1.692 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/2.096, allocations: 154.3 kB / 1.692 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006876/2.103, allocations: 3.564 MB / 1.695 GB, free: 15.52 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.01672/2.12, allocations: 8.988 MB / 1.704 GB, free: 12.58 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/2.124, allocations: 2.387 MB / 1.706 GB, free: 12.52 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/2.127, allocations: 1.402 MB / 1.708 GB, free: 12.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/2.127, allocations: 52.97 kB / 1.708 GB, free: 12.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002752/2.13, allocations: 1.732 MB / 1.709 GB, free: 12.01 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.16e-06/2.13, allocations: 2.625 kB / 1.709 GB, free: 12.01 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.007587/2.137, allocations: 3.591 MB / 1.713 GB, free: 11.81 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/2.137, allocations: 79.97 kB / 1.713 GB, free: 11.75 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/2.14, allocations: 1.249 MB / 1.714 GB, free: 11.57 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/2.14, allocations: 67.95 kB / 1.714 GB, free: 11.54 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/2.141, allocations: 1.151 MB / 1.715 GB, free: 11.02 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009577/2.142, allocations: 0.7776 MB / 1.716 GB, free: 10.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006639/2.143, allocations: 360.4 kB / 1.717 GB, free: 10.34 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001834/2.143, allocations: 303.6 kB / 1.717 GB, free: 10.04 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/2.145, allocations: 1.092 MB / 1.718 GB, free: 9.629 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/2.148, allocations: 1.555 MB / 1.719 GB, free: 8.719 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/2.153, allocations: 2.582 MB / 1.722 GB, free: 7.465 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/2.153, allocations: 1.656 kB / 1.722 GB, free: 7.465 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006247/2.159, allocations: 2.919 MB / 1.725 GB, free: 6.324 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/2.159, allocations: 34.55 kB / 1.725 GB, free: 6.293 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/2.159, allocations: 9.438 kB / 1.725 GB, free: 6.293 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.356e-05/2.159, allocations: 16.69 kB / 1.725 GB, free: 6.293 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/2.162, allocations: 0.4961 MB / 1.725 GB, free: 6.273 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.565e-05/2.162, allocations: 26.11 kB / 1.725 GB, free: 6.27 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/2.164, allocations: 205.5 kB / 1.726 GB, free: 6.152 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/2.165, allocations: 86.75 kB / 1.726 GB, free: 6.133 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.001902/2.167, allocations: 0.6931 MB / 1.726 GB, free: 5.77 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/2.167, allocations: 212.1 kB / 1.727 GB, free: 5.656 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/2.174, allocations: 2.799 MB / 1.729 GB, free: 4.539 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/2.174, allocations: 20.19 kB / 1.729 GB, free: 4.539 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/2.174, allocations: 1.125 kB / 1.729 GB, free: 4.539 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005015/2.179, allocations: 2.634 MB / 1.732 GB, free: 3.352 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/2.192, allocations: 5.288 MB / 1.737 GB, free: 1.145 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/2.192, allocations: 4.906 kB / 1.737 GB, free: 1.145 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/2.195, allocations: 0.5034 MB / 1.738 GB, free: 1.125 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-05/2.195, allocations: 18.47 kB / 1.738 GB, free: 1.117 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/2.195, allocations: 59.86 kB / 1.738 GB, free: 1.086 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.888e-05/2.195, allocations: 17.44 kB / 1.738 GB, free: 1.082 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.195, allocations: 2.844 kB / 1.738 GB, free: 1.082 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009378/2.204, allocations: 4.337 MB / 1.742 GB, free: 15.3 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/2.206, allocations: 482.3 kB / 1.742 GB, free: 14.97 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000658/2.207, allocations: 50.89 kB / 1.742 GB, free: 14.93 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/2.209, allocations: 100.4 kB / 1.742 GB, free: 14.88 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/2.21, allocations: 154.7 kB / 1.743 GB, free: 14.78 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/2.21, allocations: 70.34 kB / 1.743 GB, free: 14.76 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001933/2.212, allocations: 0.8425 MB / 1.743 GB, free: 14.3 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/2.212, allocations: 0 / 1.743 GB, free: 14.3 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003648/2.216, allocations: 0.9781 MB / 1.744 GB, free: 14.07 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.0009465/2.216, allocations: 346.8 kB / 1.745 GB, free: 13.88 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.00609/2.223, allocations: 2.561 MB / 1.747 GB, free: 12.67 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/2.223, allocations: 2.938 kB / 1.747 GB, free: 12.67 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/2.226, allocations: 1.306 MB / 1.749 GB, free: 12.1 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007001/2.233, allocations: 1.135 MB / 1.75 GB, free: 11.49 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/2.247, allocations: 6.052 MB / 1.756 GB, free: 7.855 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/2.249, allocations: 1.415 MB / 1.757 GB, free: 7.113 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.004078/2.254, allocations: 0.7079 MB / 1.758 GB, free: 6.797 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/2.255, allocations: 189.8 kB / 1.758 GB, free: 6.758 MB / 1.326 GB Notification: Performance of SimCode: time 1.122e-06/2.255, allocations: 0 / 1.758 GB, free: 6.758 MB / 1.326 GB Notification: Performance of Templates: time 0.09157/2.346, allocations: 47.98 MB / 1.805 GB, free: 10.25 MB / 1.373 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: 13.587150328792632]