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.001342/0.001342, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001494/0.001494, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.656/1.656, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.599/3.599, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 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.002699/0.002699, allocations: 68.36 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5968/0.5995, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.883/2.482, allocations: 298.7 MB / 1.613 GB, free: 4.164 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.04908/2.531, allocations: 23.15 MB / 1.636 GB, free: 4.098 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008098/2.539, allocations: 103.5 kB / 1.636 GB, free: 4.098 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.009384/2.549, allocations: 1.89 MB / 1.638 GB, free: 4.066 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02703/2.576, allocations: 6.307 MB / 1.644 GB, free: 3.836 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01317/2.589, allocations: 2.929 MB / 1.647 GB, free: 3.762 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01887/2.608, allocations: 7.294 MB / 1.654 GB, free: 3.746 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007134/2.615, allocations: 2.458 MB / 1.656 GB, free: 3.59 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/2.631, allocations: 3.239 MB / 1.659 GB, free: 3.582 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/2.642, allocations: 2.843 MB / 1.662 GB, free: 3.574 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002719/2.645, allocations: 345 kB / 1.662 GB, free: 3.574 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/2.668, allocations: 6.321 MB / 1.668 GB, free: 3.516 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005356/2.674, allocations: 1.489 MB / 1.67 GB, free: 3.516 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.009692/2.684, allocations: 1.909 MB / 1.672 GB, free: 3.16 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02621/2.71, allocations: 6.958 MB / 1.679 GB, free: 2.383 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/2.71, allocations: 3.062 kB / 1.679 GB, free: 2.383 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.493e-06/2.71, allocations: 4.969 kB / 1.679 GB, free: 2.379 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002561/2.71, allocations: 0 / 1.679 GB, free: 2.379 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.01839/2.728, allocations: 4.199 MB / 1.683 GB, free: 16.6 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/2.728, allocations: 14.58 kB / 1.683 GB, free: 16.59 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007611/2.736, allocations: 0.8659 MB / 1.684 GB, free: 16.41 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/2.742, allocations: 1.872 MB / 1.685 GB, free: 15.89 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/2.742, allocations: 206.2 kB / 1.686 GB, free: 15.88 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/2.743, allocations: 283.5 kB / 1.686 GB, free: 15.88 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/2.754, allocations: 3.598 MB / 1.689 GB, free: 15.52 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/2.754, allocations: 9.5 kB / 1.689 GB, free: 15.52 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006803/2.755, allocations: 115.1 kB / 1.689 GB, free: 15.51 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003097/2.755, allocations: 147.8 kB / 1.69 GB, free: 15.5 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009862/2.765, allocations: 3.286 MB / 1.693 GB, free: 15.47 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.03099/2.796, allocations: 14.23 MB / 1.707 GB, free: 7.168 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005617/2.802, allocations: 2.374 MB / 1.709 GB, free: 6.723 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/2.805, allocations: 1.245 MB / 1.71 GB, free: 6.703 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/2.806, allocations: 1.385 MB / 1.712 GB, free: 5.195 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002901/2.809, allocations: 1.225 MB / 1.713 GB, free: 5.113 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.25e-06/2.809, allocations: 0 / 1.713 GB, free: 5.113 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.007663/2.817, allocations: 3.175 MB / 1.716 GB, free: 4.91 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/2.817, allocations: 77.7 kB / 1.716 GB, free: 4.848 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/2.82, allocations: 1.455 MB / 1.717 GB, free: 4.68 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003962/2.82, allocations: 66.48 kB / 1.717 GB, free: 4.648 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/2.822, allocations: 1.143 MB / 1.719 GB, free: 4.164 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001467/2.823, allocations: 0.7675 MB / 1.719 GB, free: 3.656 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/2.824, allocations: 362.6 kB / 1.72 GB, free: 3.625 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0002039/2.824, allocations: 309.1 kB / 1.72 GB, free: 3.32 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/2.826, allocations: 0.9118 MB / 1.721 GB, free: 3.312 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/2.829, allocations: 1.258 MB / 1.722 GB, free: 2.988 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/2.833, allocations: 2.32 MB / 1.724 GB, free: 2.648 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/2.833, allocations: 2.812 kB / 1.724 GB, free: 2.648 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.006143/2.839, allocations: 2.606 MB / 1.727 GB, free: 1.797 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/2.839, allocations: 42.61 kB / 1.727 GB, free: 1.762 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/2.839, allocations: 12.28 kB / 1.727 GB, free: 1.758 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/2.839, allocations: 15.84 kB / 1.727 GB, free: 1.758 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/2.841, allocations: 461.9 kB / 1.727 GB, free: 1.742 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-05/2.842, allocations: 22.59 kB / 1.727 GB, free: 1.742 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/2.844, allocations: 201.2 kB / 1.728 GB, free: 1.602 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/2.845, allocations: 76.72 kB / 1.728 GB, free: 1.586 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.001956/2.847, allocations: 0.685 MB / 1.728 GB, free: 1.227 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.848, allocations: 229.8 kB / 1.729 GB, free: 1.109 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/2.855, allocations: 2.521 MB / 1.731 GB, free: 12 kB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/2.855, allocations: 19.81 kB / 1.731 GB, free: 12 kB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/2.855, allocations: 0 / 1.731 GB, free: 12 kB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004857/2.86, allocations: 2.329 MB / 1.733 GB, free: 14.69 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/2.876, allocations: 5.618 MB / 1.739 GB, free: 11.25 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/2.876, allocations: 3.5 kB / 1.739 GB, free: 11.25 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/2.879, allocations: 476.7 kB / 1.739 GB, free: 11.16 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.921e-05/2.879, allocations: 14.38 kB / 1.739 GB, free: 11.16 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/2.879, allocations: 53.11 kB / 1.739 GB, free: 11.12 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.152e-05/2.879, allocations: 11.16 kB / 1.739 GB, free: 11.12 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/2.879, allocations: 8.891 kB / 1.739 GB, free: 11.12 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00824/2.887, allocations: 3.808 MB / 1.743 GB, free: 9.082 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/2.889, allocations: 0.5543 MB / 1.744 GB, free: 8.656 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/2.89, allocations: 48.42 kB / 1.744 GB, free: 8.621 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/2.893, allocations: 66.66 kB / 1.744 GB, free: 8.582 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/2.893, allocations: 153.1 kB / 1.744 GB, free: 8.504 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/2.893, allocations: 70.69 kB / 1.744 GB, free: 8.48 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002787/2.896, allocations: 0.9881 MB / 1.745 GB, free: 7.953 MB / 1.326 GB Notification: Performance of sort global known variables: time 8e-08/2.896, allocations: 0 / 1.745 GB, free: 7.953 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005216/2.901, allocations: 0.9439 MB / 1.746 GB, free: 7.742 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.001341/2.903, allocations: 367.6 kB / 1.746 GB, free: 7.547 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006059/2.909, allocations: 2.228 MB / 1.748 GB, free: 6.523 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.909, allocations: 4 kB / 1.748 GB, free: 6.52 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00273/2.912, allocations: 1.144 MB / 1.75 GB, free: 5.941 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008938/2.921, allocations: 1.287 MB / 1.751 GB, free: 4.676 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/2.935, allocations: 5.868 MB / 1.756 GB, free: 14.77 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/2.938, allocations: 1.968 MB / 1.758 GB, free: 12.77 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.0039/2.942, allocations: 0.7171 MB / 1.759 GB, free: 12.05 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/2.943, allocations: 195.4 kB / 1.759 GB, free: 11.86 MB / 1.342 GB Notification: Performance of SimCode: time 1.954e-06/2.943, allocations: 0 / 1.759 GB, free: 11.86 MB / 1.342 GB Notification: Performance of Templates: time 0.1034/3.047, allocations: 48.29 MB / 1.806 GB, free: 12.3 MB / 1.389 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/jenkins/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: 14.699851575307548]