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.001609/0.001609, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002122/0.002122, allocations: 218.9 kB / 22.99 MB, free: 4.914 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.486/3.486, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 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.002086/0.002086, allocations: 62.59 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4728, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.366/0.8387, allocations: 262.2 MB / 1.582 GB, free: 10.66 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03913/0.8779, allocations: 21.35 MB / 1.603 GB, free: 5.254 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005801/0.8837, allocations: 103.2 kB / 1.603 GB, free: 5.152 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006865/0.8905, allocations: 1.705 MB / 1.605 GB, free: 3.438 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 1.318/2.209, allocations: 6.373 MB / 1.611 GB, free: 6.641 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01396/2.223, allocations: 2.961 MB / 1.614 GB, free: 6.641 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0178/2.24, allocations: 7.372 MB / 1.621 GB, free: 6.629 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005834/2.246, allocations: 2.129 MB / 1.623 GB, free: 6.48 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0131/2.259, allocations: 3.275 MB / 1.627 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009761/2.269, allocations: 2.71 MB / 1.629 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/2.272, allocations: 343.3 kB / 1.63 GB, free: 6.477 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/2.29, allocations: 4.903 MB / 1.634 GB, free: 6.469 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004639/2.295, allocations: 1.493 MB / 1.636 GB, free: 6.469 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008518/2.303, allocations: 1.602 MB / 1.637 GB, free: 6.469 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02635/2.329, allocations: 6.794 MB / 1.644 GB, free: 6.012 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/2.329, allocations: 2.578 kB / 1.644 GB, free: 6.012 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.917e-06/2.329, allocations: 2.156 kB / 1.644 GB, free: 6.012 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002607/2.33, allocations: 0 / 1.644 GB, free: 6.012 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.01915/2.349, allocations: 4.11 MB / 1.648 GB, free: 20.33 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/2.349, allocations: 10.03 kB / 1.648 GB, free: 20.33 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006309/2.355, allocations: 0.8728 MB / 1.649 GB, free: 20.14 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007457/2.363, allocations: 1.783 MB / 1.651 GB, free: 19.67 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/2.363, allocations: 204.6 kB / 1.651 GB, free: 19.66 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/2.364, allocations: 278.3 kB / 1.651 GB, free: 19.66 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009781/2.374, allocations: 3.932 MB / 1.655 GB, free: 18.89 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.742e-05/2.374, allocations: 8.484 kB / 1.655 GB, free: 18.89 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/2.375, allocations: 114.3 kB / 1.655 GB, free: 18.89 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/2.375, allocations: 151.8 kB / 1.655 GB, free: 18.89 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006749/2.382, allocations: 3.27 MB / 1.658 GB, free: 18.86 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.01841/2.4, allocations: 8.622 MB / 1.667 GB, free: 15.96 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/2.404, allocations: 2.059 MB / 1.669 GB, free: 15.91 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/2.406, allocations: 1.247 MB / 1.67 GB, free: 15.9 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/2.407, allocations: 179.8 kB / 1.67 GB, free: 15.89 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/2.409, allocations: 1.55 MB / 1.672 GB, free: 15.41 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 6.903e-06/2.409, allocations: 0.7812 kB / 1.672 GB, free: 15.41 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.006212/2.415, allocations: 3.159 MB / 1.675 GB, free: 15.22 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/2.415, allocations: 76.97 kB / 1.675 GB, free: 15.16 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/2.417, allocations: 1.241 MB / 1.676 GB, free: 14.98 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/2.418, allocations: 66.67 kB / 1.676 GB, free: 14.95 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/2.419, allocations: 1.142 MB / 1.677 GB, free: 14.43 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/2.42, allocations: 0.77 MB / 1.678 GB, free: 13.92 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006128/2.42, allocations: 363.9 kB / 1.678 GB, free: 13.89 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001778/2.42, allocations: 309 kB / 1.679 GB, free: 13.58 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/2.422, allocations: 0.9441 MB / 1.68 GB, free: 13.54 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/2.424, allocations: 1.408 MB / 1.681 GB, free: 13.04 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/2.428, allocations: 2.322 MB / 1.683 GB, free: 12.72 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/2.428, allocations: 2.719 kB / 1.683 GB, free: 12.72 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004999/2.433, allocations: 2.616 MB / 1.686 GB, free: 12.48 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/2.433, allocations: 40.8 kB / 1.686 GB, free: 12.45 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/2.433, allocations: 14.36 kB / 1.686 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.934e-05/2.433, allocations: 17.5 kB / 1.686 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/2.435, allocations: 464.6 kB / 1.686 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/2.435, allocations: 20.06 kB / 1.686 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/2.438, allocations: 177.4 kB / 1.686 GB, free: 12.36 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/2.438, allocations: 78.98 kB / 1.687 GB, free: 12.36 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.002057/2.44, allocations: 0.6901 MB / 1.687 GB, free: 12.23 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/2.441, allocations: 205.6 kB / 1.687 GB, free: 12.13 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/2.445, allocations: 2.508 MB / 1.69 GB, free: 12 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/2.445, allocations: 19 kB / 1.69 GB, free: 12 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/2.445, allocations: 3.188 kB / 1.69 GB, free: 12 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003654/2.449, allocations: 2.33 MB / 1.692 GB, free: 11.61 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009936/2.459, allocations: 4.817 MB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/2.459, allocations: 7.531 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/2.461, allocations: 475.8 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/2.461, allocations: 8.812 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/2.461, allocations: 59.14 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/2.461, allocations: 8 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.461, allocations: 5.906 kB / 1.697 GB, free: 11.14 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/2.467, allocations: 3.788 MB / 1.701 GB, free: 10.73 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/2.469, allocations: 478.7 kB / 1.702 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/2.469, allocations: 50.3 kB / 1.702 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/2.471, allocations: 60.67 kB / 1.702 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/2.471, allocations: 154.9 kB / 1.702 GB, free: 10.57 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/2.471, allocations: 75.91 kB / 1.702 GB, free: 10.57 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001242/2.473, allocations: 0.8285 MB / 1.703 GB, free: 10.46 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/2.473, allocations: 0 / 1.703 GB, free: 10.46 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002781/2.475, allocations: 0.9597 MB / 1.704 GB, free: 10.31 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.0007857/2.476, allocations: 362.9 kB / 1.704 GB, free: 10.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003841/2.48, allocations: 2.256 MB / 1.706 GB, free: 10.06 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/2.48, allocations: 8.094 kB / 1.706 GB, free: 10.06 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/2.482, allocations: 1.136 MB / 1.707 GB, free: 10.05 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/2.487, allocations: 1.137 MB / 1.708 GB, free: 9.91 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/2.5, allocations: 6.023 MB / 1.714 GB, free: 7.57 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/2.502, allocations: 1.421 MB / 1.716 GB, free: 7.344 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/2.503, allocations: 203.3 kB / 1.716 GB, free: 7.34 MB / 1.311 GB Notification: Performance of SimCode: time 2.725e-06/2.503, allocations: 0 / 1.716 GB, free: 7.34 MB / 1.311 GB Notification: Performance of Templates: time 0.08866/2.592, allocations: 41.23 MB / 1.756 GB, free: 2.371 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: 23.114858306013048]