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.001614/0.001614, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002143/0.002143, allocations: 211.6 kB / 22.99 MB, free: 4.984 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.238/3.238, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002015/0.002015, allocations: 71.64 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3258/0.713, allocations: 262.2 MB / 1.583 GB, free: 9.809 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03901/0.752, allocations: 21.36 MB / 1.604 GB, free: 4.395 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.7568, allocations: 103.2 kB / 1.604 GB, free: 4.293 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006393/0.7632, allocations: 1.709 MB / 1.606 GB, free: 2.574 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.9761/1.739, allocations: 6.377 MB / 1.612 GB, free: 6.277 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008398/1.748, allocations: 2.977 MB / 1.615 GB, free: 6.277 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01289/1.761, allocations: 7.416 MB / 1.622 GB, free: 6.266 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006912/1.767, allocations: 2.154 MB / 1.624 GB, free: 6.117 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/1.779, allocations: 3.282 MB / 1.627 GB, free: 6.113 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007503/1.786, allocations: 2.847 MB / 1.63 GB, free: 6.113 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001922/1.788, allocations: 341.8 kB / 1.631 GB, free: 6.113 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/1.802, allocations: 4.964 MB / 1.635 GB, free: 6.066 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003777/1.805, allocations: 1.494 MB / 1.637 GB, free: 6.066 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00627/1.812, allocations: 1.602 MB / 1.638 GB, free: 6.066 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.0179/1.829, allocations: 6.789 MB / 1.645 GB, free: 5.594 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.829, allocations: 2.906 kB / 1.645 GB, free: 5.594 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.044e-06/1.829, allocations: 0.9688 kB / 1.645 GB, free: 5.594 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002552/1.83, allocations: 0 / 1.645 GB, free: 5.594 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.01692/1.847, allocations: 4.115 MB / 1.649 GB, free: 19.91 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.847, allocations: 8.781 kB / 1.649 GB, free: 19.91 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/1.853, allocations: 0.8653 MB / 1.65 GB, free: 19.73 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/1.859, allocations: 1.783 MB / 1.652 GB, free: 19.26 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/1.859, allocations: 211.7 kB / 1.652 GB, free: 19.25 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/1.86, allocations: 275.7 kB / 1.652 GB, free: 19.24 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007377/1.867, allocations: 3.928 MB / 1.656 GB, free: 18.48 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-05/1.868, allocations: 4.281 kB / 1.656 GB, free: 18.48 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/1.868, allocations: 116 kB / 1.656 GB, free: 18.48 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/1.868, allocations: 148.2 kB / 1.656 GB, free: 18.47 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006785/1.875, allocations: 3.272 MB / 1.659 GB, free: 18.44 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.01897/1.894, allocations: 8.625 MB / 1.668 GB, free: 15.55 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/1.897, allocations: 2.062 MB / 1.67 GB, free: 15.49 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/1.899, allocations: 1.241 MB / 1.671 GB, free: 15.48 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/1.9, allocations: 178.7 kB / 1.671 GB, free: 15.48 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/1.902, allocations: 1.554 MB / 1.673 GB, free: 15 MB / 1.311 GB Notification: Performance of pre-optimization done (n=213): time 5.57e-06/1.902, allocations: 0 / 1.673 GB, free: 15 MB / 1.311 GB Notification: Performance of matching and sorting (n=213): time 0.005741/1.908, allocations: 3.157 MB / 1.676 GB, free: 14.8 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/1.908, allocations: 78.5 kB / 1.676 GB, free: 14.74 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/1.91, allocations: 1.242 MB / 1.677 GB, free: 14.56 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/1.91, allocations: 70.41 kB / 1.677 GB, free: 14.53 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/1.911, allocations: 1.144 MB / 1.678 GB, free: 14.01 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/1.911, allocations: 0.7659 MB / 1.679 GB, free: 13.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/1.912, allocations: 363 kB / 1.679 GB, free: 13.47 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.912, allocations: 306.3 kB / 1.68 GB, free: 13.17 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/1.914, allocations: 0.9439 MB / 1.681 GB, free: 13.13 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/1.915, allocations: 1.404 MB / 1.682 GB, free: 12.63 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/1.918, allocations: 2.324 MB / 1.684 GB, free: 12.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.918, allocations: 3.562 kB / 1.684 GB, free: 12.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004222/1.923, allocations: 2.618 MB / 1.687 GB, free: 12.06 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/1.923, allocations: 38.23 kB / 1.687 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.923, allocations: 5.25 kB / 1.687 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/1.923, allocations: 16.47 kB / 1.687 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.925, allocations: 470.5 kB / 1.687 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.619e-05/1.925, allocations: 23.66 kB / 1.687 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.927, allocations: 170.9 kB / 1.688 GB, free: 11.95 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.927, allocations: 82.34 kB / 1.688 GB, free: 11.94 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.001331/1.929, allocations: 0.6851 MB / 1.688 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.929, allocations: 208.6 kB / 1.689 GB, free: 11.71 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/1.933, allocations: 2.515 MB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.933, allocations: 19.25 kB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.933, allocations: 0.7812 kB / 1.691 GB, free: 11.58 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003204/1.936, allocations: 2.331 MB / 1.693 GB, free: 11.2 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/1.945, allocations: 4.821 MB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.945, allocations: 9.281 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.947, allocations: 473.5 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/1.947, allocations: 11.66 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.947, allocations: 52.92 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.947, allocations: 14.78 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.947, allocations: 2.5 kB / 1.698 GB, free: 10.72 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/1.953, allocations: 3.795 MB / 1.702 GB, free: 10.3 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.955, allocations: 467.4 kB / 1.703 GB, free: 10.16 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/1.955, allocations: 46.31 kB / 1.703 GB, free: 10.16 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/1.957, allocations: 66.73 kB / 1.703 GB, free: 10.16 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.957, allocations: 155.3 kB / 1.703 GB, free: 10.16 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.957, allocations: 78.81 kB / 1.703 GB, free: 10.15 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001095/1.958, allocations: 0.8266 MB / 1.704 GB, free: 10.04 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.958, allocations: 1 kB / 1.704 GB, free: 10.04 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002662/1.961, allocations: 0.9621 MB / 1.705 GB, free: 9.891 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.0007815/1.962, allocations: 359.7 kB / 1.705 GB, free: 9.777 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003695/1.965, allocations: 2.255 MB / 1.707 GB, free: 9.645 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.965, allocations: 0.9062 kB / 1.707 GB, free: 9.645 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.967, allocations: 1.148 MB / 1.708 GB, free: 9.637 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/1.972, allocations: 1.138 MB / 1.71 GB, free: 9.492 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009552/1.982, allocations: 5.829 MB / 1.715 GB, free: 7.184 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.983, allocations: 1.409 MB / 1.717 GB, free: 6.957 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002755/1.986, allocations: 0.6903 MB / 1.717 GB, free: 6.828 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/1.987, allocations: 185.8 kB / 1.717 GB, free: 6.824 MB / 1.311 GB Notification: Performance of SimCode: time 1.182e-06/1.987, allocations: 0 / 1.717 GB, free: 6.824 MB / 1.311 GB Notification: Performance of Templates: time 0.07995/2.066, allocations: 49.86 MB / 1.766 GB, free: 8.746 MB / 1.342 GB " [Timeout remaining time 298] 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 -s cvode -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: 12.459007450001081]