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.001192/0.001192, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001531/0.001531, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.431/3.431, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.002596/0.002596, allocations: 72.92 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5135, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.4276/0.9411, allocations: 262.2 MB / 1.583 GB, free: 9.797 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03651/0.9776, allocations: 21.35 MB / 1.604 GB, free: 4.391 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.9824, allocations: 99.25 kB / 1.604 GB, free: 4.293 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006138/0.9886, allocations: 1.713 MB / 1.606 GB, free: 2.57 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 1.173/2.161, allocations: 6.366 MB / 1.612 GB, free: 6.223 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/2.173, allocations: 2.959 MB / 1.615 GB, free: 6.223 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01644/2.189, allocations: 7.382 MB / 1.622 GB, free: 6.211 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006788/2.196, allocations: 2.13 MB / 1.624 GB, free: 6.062 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/2.21, allocations: 3.264 MB / 1.627 GB, free: 6.062 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009834/2.22, allocations: 2.715 MB / 1.63 GB, free: 6.062 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00232/2.222, allocations: 341.6 kB / 1.63 GB, free: 6.062 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01799/2.24, allocations: 4.909 MB / 1.635 GB, free: 6.016 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004479/2.245, allocations: 1.492 MB / 1.637 GB, free: 6.016 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008268/2.253, allocations: 1.602 MB / 1.638 GB, free: 6.016 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02304/2.276, allocations: 6.791 MB / 1.645 GB, free: 5.543 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/2.276, allocations: 0.9688 kB / 1.645 GB, free: 5.543 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.936e-06/2.276, allocations: 0 / 1.645 GB, free: 5.543 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002363/2.276, allocations: 0 / 1.645 GB, free: 5.543 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.01753/2.294, allocations: 4.129 MB / 1.649 GB, free: 19.86 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/2.294, allocations: 8.781 kB / 1.649 GB, free: 19.86 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006262/2.3, allocations: 0.8627 MB / 1.65 GB, free: 19.68 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/2.305, allocations: 1.79 MB / 1.652 GB, free: 19.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/2.306, allocations: 209.2 kB / 1.652 GB, free: 19.2 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007759/2.306, allocations: 273.7 kB / 1.652 GB, free: 19.19 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007813/2.314, allocations: 3.933 MB / 1.656 GB, free: 18.43 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/2.314, allocations: 2.625 kB / 1.656 GB, free: 18.43 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/2.315, allocations: 113.8 kB / 1.656 GB, free: 18.43 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/2.315, allocations: 151.7 kB / 1.656 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006501/2.321, allocations: 3.275 MB / 1.659 GB, free: 18.39 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.01856/2.34, allocations: 8.625 MB / 1.668 GB, free: 15.49 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/2.343, allocations: 2.058 MB / 1.67 GB, free: 15.44 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/2.345, allocations: 1.245 MB / 1.671 GB, free: 15.43 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/2.346, allocations: 180.3 kB / 1.671 GB, free: 15.43 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/2.348, allocations: 1.552 MB / 1.673 GB, free: 14.95 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 6.032e-06/2.348, allocations: 0 / 1.673 GB, free: 14.95 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005954/2.354, allocations: 3.157 MB / 1.676 GB, free: 14.75 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/2.355, allocations: 74.86 kB / 1.676 GB, free: 14.69 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/2.357, allocations: 1.244 MB / 1.677 GB, free: 14.51 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/2.357, allocations: 66.8 kB / 1.677 GB, free: 14.48 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/2.358, allocations: 1.144 MB / 1.678 GB, free: 13.96 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008877/2.359, allocations: 0.7685 MB / 1.679 GB, free: 13.45 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/2.36, allocations: 363.2 kB / 1.679 GB, free: 13.42 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001884/2.36, allocations: 307.7 kB / 1.68 GB, free: 13.12 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/2.362, allocations: 0.9414 MB / 1.68 GB, free: 13.08 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/2.363, allocations: 1.406 MB / 1.682 GB, free: 12.58 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/2.367, allocations: 2.319 MB / 1.684 GB, free: 12.25 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/2.367, allocations: 5.469 kB / 1.684 GB, free: 12.25 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004735/2.372, allocations: 2.62 MB / 1.687 GB, free: 12.01 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/2.372, allocations: 34.23 kB / 1.687 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/2.372, allocations: 11.73 kB / 1.687 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/2.372, allocations: 14.03 kB / 1.687 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/2.374, allocations: 468.1 kB / 1.687 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.351e-05/2.374, allocations: 28.14 kB / 1.687 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/2.376, allocations: 174.4 kB / 1.687 GB, free: 11.89 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/2.376, allocations: 78.38 kB / 1.687 GB, free: 11.89 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.001714/2.378, allocations: 0.6824 MB / 1.688 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/2.379, allocations: 207.6 kB / 1.688 GB, free: 11.66 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/2.383, allocations: 2.512 MB / 1.691 GB, free: 11.54 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/2.383, allocations: 23.66 kB / 1.691 GB, free: 11.54 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/2.383, allocations: 0 / 1.691 GB, free: 11.54 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003603/2.387, allocations: 2.327 MB / 1.693 GB, free: 11.15 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/2.397, allocations: 4.824 MB / 1.698 GB, free: 10.68 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/2.397, allocations: 6.906 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/2.399, allocations: 480.8 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/2.399, allocations: 8.438 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/2.399, allocations: 57.77 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/2.399, allocations: 12.75 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.399, allocations: 2.469 kB / 1.698 GB, free: 10.67 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/2.406, allocations: 3.791 MB / 1.702 GB, free: 10.25 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/2.407, allocations: 469.5 kB / 1.702 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/2.408, allocations: 53.2 kB / 1.703 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/2.409, allocations: 64.98 kB / 1.703 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/2.41, allocations: 149.7 kB / 1.703 GB, free: 10.11 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/2.41, allocations: 73.3 kB / 1.703 GB, free: 10.1 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00125/2.411, allocations: 0.8334 MB / 1.704 GB, free: 9.992 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/2.411, allocations: 0 / 1.704 GB, free: 9.992 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003115/2.414, allocations: 0.9636 MB / 1.705 GB, free: 9.84 MB / 1.311 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.0008842/2.415, allocations: 357.6 kB / 1.705 GB, free: 9.727 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004016/2.419, allocations: 2.255 MB / 1.707 GB, free: 9.594 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/2.419, allocations: 2.719 kB / 1.707 GB, free: 9.594 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/2.421, allocations: 1.142 MB / 1.708 GB, free: 9.586 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/2.427, allocations: 1.133 MB / 1.709 GB, free: 9.445 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/2.439, allocations: 6.014 MB / 1.715 GB, free: 7.102 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/2.441, allocations: 1.419 MB / 1.717 GB, free: 6.875 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/2.442, allocations: 200 kB / 1.717 GB, free: 6.871 MB / 1.311 GB Notification: Performance of SimCode: time 2.034e-06/2.442, allocations: 4 kB / 1.717 GB, free: 6.867 MB / 1.311 GB Notification: Performance of Templates: time 0.08361/2.526, allocations: 41.24 MB / 1.757 GB, free: 1.328 MB / 1.326 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: 21.969539935002103]