Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001711/0.001711, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002172/0.002172, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.649/1.649, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.49/3.49, allocations: 0.49 GB / 0.7958 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002057/0.002057, allocations: 66.05 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.464, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.766/2.23, allocations: 299.8 MB / 1.62 GB, free: 4.375 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0402/2.27, allocations: 23.27 MB / 1.643 GB, free: 4.305 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005679/2.276, allocations: 103.7 kB / 1.643 GB, free: 4.305 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006695/2.282, allocations: 1.889 MB / 1.645 GB, free: 4.273 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02319/2.306, allocations: 6.441 MB / 1.651 GB, free: 4.043 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/2.317, allocations: 3.001 MB / 1.654 GB, free: 3.953 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01526/2.332, allocations: 7.423 MB / 1.661 GB, free: 3.934 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0065/2.339, allocations: 2.163 MB / 1.663 GB, free: 3.781 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/2.35, allocations: 3.252 MB / 1.666 GB, free: 3.777 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00795/2.358, allocations: 2.851 MB / 1.669 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001964/2.36, allocations: 342.2 kB / 1.669 GB, free: 3.77 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0198/2.38, allocations: 6.425 MB / 1.676 GB, free: 3.711 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00451/2.384, allocations: 1.493 MB / 1.677 GB, free: 3.711 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007662/2.392, allocations: 1.912 MB / 1.679 GB, free: 3.297 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02574/2.418, allocations: 6.957 MB / 1.686 GB, free: 2.52 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/2.418, allocations: 4.188 kB / 1.686 GB, free: 2.52 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.545e-06/2.418, allocations: 3.938 kB / 1.686 GB, free: 2.516 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003161/2.418, allocations: 0 / 1.686 GB, free: 2.516 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.01879/2.437, allocations: 4.129 MB / 1.69 GB, free: 16.82 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/2.437, allocations: 8.688 kB / 1.69 GB, free: 16.82 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/2.444, allocations: 0.8601 MB / 1.691 GB, free: 16.64 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006544/2.45, allocations: 1.784 MB / 1.693 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/2.451, allocations: 209.1 kB / 1.693 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/2.452, allocations: 273 kB / 1.693 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/2.463, allocations: 3.602 MB / 1.696 GB, free: 15.8 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/2.463, allocations: 8.703 kB / 1.696 GB, free: 15.79 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007269/2.464, allocations: 113 kB / 1.697 GB, free: 15.79 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/2.464, allocations: 148.5 kB / 1.697 GB, free: 15.79 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008174/2.472, allocations: 3.285 MB / 1.7 GB, free: 15.75 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.02534/2.497, allocations: 14.1 MB / 1.714 GB, free: 7.488 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/2.502, allocations: 2.077 MB / 1.716 GB, free: 7.422 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/2.504, allocations: 1.244 MB / 1.717 GB, free: 7.406 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/2.505, allocations: 190.7 kB / 1.717 GB, free: 7.398 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002479/2.507, allocations: 1.222 MB / 1.718 GB, free: 7.32 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 4.549e-06/2.507, allocations: 0 / 1.718 GB, free: 7.32 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.006949/2.514, allocations: 3.177 MB / 1.721 GB, free: 7.113 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/2.514, allocations: 78.23 kB / 1.722 GB, free: 7.051 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/2.517, allocations: 1.453 MB / 1.723 GB, free: 6.883 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/2.517, allocations: 65.02 kB / 1.723 GB, free: 6.852 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/2.518, allocations: 1.144 MB / 1.724 GB, free: 6.363 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009665/2.519, allocations: 0.7768 MB / 1.725 GB, free: 5.855 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/2.52, allocations: 362.1 kB / 1.725 GB, free: 5.824 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001885/2.52, allocations: 305.1 kB / 1.726 GB, free: 5.523 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/2.522, allocations: 0.9131 MB / 1.726 GB, free: 5.516 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/2.524, allocations: 1.253 MB / 1.728 GB, free: 5.191 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/2.527, allocations: 2.319 MB / 1.73 GB, free: 4.461 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/2.527, allocations: 3 kB / 1.73 GB, free: 4.461 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005065/2.532, allocations: 2.611 MB / 1.732 GB, free: 3.438 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/2.532, allocations: 38.88 kB / 1.732 GB, free: 3.406 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/2.532, allocations: 8.719 kB / 1.732 GB, free: 3.406 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/2.532, allocations: 15.59 kB / 1.732 GB, free: 3.406 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/2.534, allocations: 467 kB / 1.733 GB, free: 3.387 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.234e-05/2.534, allocations: 22.05 kB / 1.733 GB, free: 3.387 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/2.537, allocations: 199 kB / 1.733 GB, free: 3.25 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/2.537, allocations: 79.7 kB / 1.733 GB, free: 3.234 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.001739/2.539, allocations: 0.6837 MB / 1.734 GB, free: 2.875 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/2.539, allocations: 237.4 kB / 1.734 GB, free: 2.746 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/2.544, allocations: 2.518 MB / 1.737 GB, free: 1.711 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/2.544, allocations: 21.88 kB / 1.737 GB, free: 1.711 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/2.544, allocations: 4 kB / 1.737 GB, free: 1.707 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003785/2.548, allocations: 2.332 MB / 1.739 GB, free: 436 kB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/2.558, allocations: 5.516 MB / 1.744 GB, free: 13.12 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/2.558, allocations: 2.594 kB / 1.744 GB, free: 13.12 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/2.56, allocations: 472.2 kB / 1.745 GB, free: 13.03 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/2.56, allocations: 11.44 kB / 1.745 GB, free: 13.03 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/2.56, allocations: 53.11 kB / 1.745 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/2.56, allocations: 13.62 kB / 1.745 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/2.56, allocations: 11.11 kB / 1.745 GB, free: 12.99 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00643/2.567, allocations: 3.811 MB / 1.749 GB, free: 10.95 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/2.568, allocations: 483.8 kB / 1.749 GB, free: 10.62 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/2.569, allocations: 45.55 kB / 1.749 GB, free: 10.59 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/2.57, allocations: 69.5 kB / 1.749 GB, free: 10.55 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/2.57, allocations: 157.7 kB / 1.749 GB, free: 10.45 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/2.57, allocations: 67.11 kB / 1.749 GB, free: 10.43 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001599/2.572, allocations: 0.9879 MB / 1.75 GB, free: 9.902 MB / 1.326 GB Notification: Performance of sort global known variables: time 1e-07/2.572, allocations: 0 / 1.75 GB, free: 9.902 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002943/2.575, allocations: 0.9449 MB / 1.751 GB, free: 9.691 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.0007047/2.576, allocations: 361.8 kB / 1.752 GB, free: 9.496 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004016/2.58, allocations: 2.23 MB / 1.754 GB, free: 8.473 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/2.58, allocations: 2.906 kB / 1.754 GB, free: 8.473 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/2.582, allocations: 1.148 MB / 1.755 GB, free: 7.988 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005226/2.587, allocations: 1.278 MB / 1.756 GB, free: 6.844 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/2.598, allocations: 6.051 MB / 1.762 GB, free: 0.7617 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/2.6, allocations: 1.983 MB / 1.764 GB, free: 14.74 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/2.601, allocations: 215.4 kB / 1.764 GB, free: 14.53 MB / 1.342 GB Notification: Performance of SimCode: time 1.964e-06/2.601, allocations: 0 / 1.764 GB, free: 14.53 MB / 1.342 GB Notification: Performance of Templates: time 0.07841/2.679, allocations: 42.02 MB / 1.805 GB, free: 4.742 MB / 1.373 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.903635149006732]