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.001613/0.001613, allocations: 110.2 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.001852/0.001852, allocations: 209.8 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.668/1.668, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.656/3.656, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.002095/0.002095, allocations: 67.8 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5617, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.8/2.362, allocations: 299.9 MB / 1.647 GB, free: 4.207 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.04343/2.405, allocations: 23.45 MB / 1.67 GB, free: 4.039 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006557/2.412, allocations: 101.1 kB / 1.67 GB, free: 4.039 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007446/2.419, allocations: 1.894 MB / 1.672 GB, free: 4.008 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02366/2.443, allocations: 6.515 MB / 1.678 GB, free: 3.75 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0114/2.454, allocations: 2.991 MB / 1.681 GB, free: 3.664 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01489/2.469, allocations: 7.49 MB / 1.688 GB, free: 3.641 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005302/2.474, allocations: 2.183 MB / 1.691 GB, free: 3.484 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/2.486, allocations: 3.263 MB / 1.694 GB, free: 3.48 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00773/2.493, allocations: 2.883 MB / 1.697 GB, free: 3.246 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001888/2.495, allocations: 347.9 kB / 1.697 GB, free: 3.246 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01808/2.513, allocations: 6.48 MB / 1.703 GB, free: 3.188 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003384/2.517, allocations: 1.513 MB / 1.705 GB, free: 3.023 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006268/2.523, allocations: 1.925 MB / 1.707 GB, free: 2.547 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/2.544, allocations: 7.029 MB / 1.713 GB, free: 1.762 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/2.544, allocations: 3.656 kB / 1.713 GB, free: 1.762 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.794e-06/2.544, allocations: 0 / 1.713 GB, free: 1.762 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001913/2.544, allocations: 0 / 1.713 GB, free: 1.762 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.01346/2.557, allocations: 4.152 MB / 1.717 GB, free: 16.04 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/2.557, allocations: 10.78 kB / 1.717 GB, free: 16.04 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/2.566, allocations: 1.246 MB / 1.719 GB, free: 15.84 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005743/2.572, allocations: 1.818 MB / 1.72 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/2.572, allocations: 205.6 kB / 1.721 GB, free: 15.33 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/2.573, allocations: 280.5 kB / 1.721 GB, free: 15.33 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008843/2.582, allocations: 3.785 MB / 1.725 GB, free: 14.96 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.133e-05/2.582, allocations: 5.875 kB / 1.725 GB, free: 14.96 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/2.583, allocations: 119.8 kB / 1.725 GB, free: 14.95 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/2.583, allocations: 146.4 kB / 1.725 GB, free: 14.94 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008566/2.591, allocations: 3.578 MB / 1.728 GB, free: 14.91 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.02685/2.618, allocations: 14.53 MB / 1.743 GB, free: 4.688 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/2.624, allocations: 2.394 MB / 1.745 GB, free: 3.441 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/2.627, allocations: 1.396 MB / 1.746 GB, free: 2.746 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/2.627, allocations: 65.56 kB / 1.746 GB, free: 2.73 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/2.63, allocations: 1.407 MB / 1.748 GB, free: 1.902 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.421e-06/2.63, allocations: 0 / 1.748 GB, free: 1.902 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.007915/2.638, allocations: 3.615 MB / 1.751 GB, free: 128 kB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/2.638, allocations: 72.31 kB / 1.751 GB, free: 64 kB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/2.641, allocations: 1.467 MB / 1.753 GB, free: 15.29 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0003603/2.641, allocations: 64.58 kB / 1.753 GB, free: 15.23 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/2.642, allocations: 1.149 MB / 1.754 GB, free: 14.23 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/2.643, allocations: 0.7731 MB / 1.755 GB, free: 13.56 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006929/2.644, allocations: 367.5 kB / 1.755 GB, free: 13.36 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001363/2.644, allocations: 307.7 kB / 1.755 GB, free: 13.05 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/2.646, allocations: 1.062 MB / 1.756 GB, free: 12.51 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/2.649, allocations: 1.403 MB / 1.758 GB, free: 11.59 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/2.654, allocations: 2.58 MB / 1.76 GB, free: 10.09 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/2.654, allocations: 4.656 kB / 1.76 GB, free: 10.09 MB / 1.326 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006245/2.66, allocations: 2.898 MB / 1.763 GB, free: 8.668 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/2.66, allocations: 37.86 kB / 1.763 GB, free: 8.637 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/2.66, allocations: 6.156 kB / 1.763 GB, free: 8.637 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/2.66, allocations: 16.44 kB / 1.763 GB, free: 8.637 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/2.663, allocations: 0.5069 MB / 1.764 GB, free: 8.527 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.333e-05/2.663, allocations: 24.16 kB / 1.764 GB, free: 8.523 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/2.666, allocations: 227.5 kB / 1.764 GB, free: 8.367 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/2.666, allocations: 88.03 kB / 1.764 GB, free: 8.34 MB / 1.326 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.002394/2.669, allocations: 0.6876 MB / 1.765 GB, free: 7.902 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/2.67, allocations: 232.4 kB / 1.765 GB, free: 7.781 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/2.676, allocations: 2.808 MB / 1.768 GB, free: 6.223 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/2.676, allocations: 19.28 kB / 1.768 GB, free: 6.223 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/2.676, allocations: 0 / 1.768 GB, free: 6.223 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005206/2.681, allocations: 2.626 MB / 1.77 GB, free: 4.742 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/2.696, allocations: 6.052 MB / 1.776 GB, free: 15.57 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/2.696, allocations: 7.984 kB / 1.776 GB, free: 15.56 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/2.699, allocations: 0.5058 MB / 1.777 GB, free: 15.08 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/2.699, allocations: 8 kB / 1.777 GB, free: 15.07 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/2.699, allocations: 55.97 kB / 1.777 GB, free: 15.02 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/2.699, allocations: 14.66 kB / 1.777 GB, free: 15 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.699, allocations: 4 kB / 1.777 GB, free: 15 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008759/2.708, allocations: 4.325 MB / 1.781 GB, free: 10.63 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/2.71, allocations: 0.496 MB / 1.781 GB, free: 10.13 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/2.711, allocations: 51.92 kB / 1.781 GB, free: 10.08 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/2.713, allocations: 101 kB / 1.782 GB, free: 9.984 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/2.713, allocations: 156.6 kB / 1.782 GB, free: 9.836 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/2.713, allocations: 71.97 kB / 1.782 GB, free: 9.766 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001707/2.715, allocations: 1.007 MB / 1.783 GB, free: 8.766 MB / 1.342 GB Notification: Performance of sort global known variables: time 7e-08/2.715, allocations: 0 / 1.783 GB, free: 8.766 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003397/2.718, allocations: 0.9552 MB / 1.784 GB, free: 7.809 MB / 1.342 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.000857/2.719, allocations: 342.8 kB / 1.784 GB, free: 7.5 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.005749/2.725, allocations: 2.536 MB / 1.786 GB, free: 4.992 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.725, allocations: 4.312 kB / 1.786 GB, free: 4.988 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/2.728, allocations: 1.298 MB / 1.788 GB, free: 3.742 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00726/2.735, allocations: 1.303 MB / 1.789 GB, free: 2.461 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/2.75, allocations: 6.277 MB / 1.795 GB, free: 12.14 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/2.752, allocations: 1.98 MB / 1.797 GB, free: 10.12 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/2.754, allocations: 227.3 kB / 1.797 GB, free: 9.898 MB / 1.357 GB Notification: Performance of SimCode: time 2.174e-06/2.754, allocations: 0 / 1.797 GB, free: 9.898 MB / 1.357 GB Notification: Performance of Templates: time 0.08101/2.835, allocations: 44.53 MB / 1.841 GB, free: 13.57 MB / 1.404 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: 24.48222648797673]