Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.001741/0.001741, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002166/0.002166, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.964/2.964, allocations: 0.49 GB / 0.7923 GB, free: 1.348 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [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.002168/0.002168, allocations: 71.91 kB / 1.15 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.22/1.312, allocations: 166.4 MB / 1.484 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006267/1.318, allocations: 3.563 MB / 1.488 GB, free: 11.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006535/1.319, allocations: 27.78 kB / 1.488 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009238/1.319, allocations: 286.9 kB / 1.488 GB, free: 11.4 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/1.322, allocations: 0.9167 MB / 1.489 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/1.323, allocations: 457.1 kB / 1.489 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00159/1.325, allocations: 1.115 MB / 1.491 GB, free: 9.691 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/1.325, allocations: 283 kB / 1.491 GB, free: 9.488 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/1.326, allocations: 472.5 kB / 1.491 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/1.327, allocations: 368.9 kB / 1.492 GB, free: 8.992 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/1.327, allocations: 39.59 kB / 1.492 GB, free: 8.992 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/1.328, allocations: 0.7411 MB / 1.492 GB, free: 8.582 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/1.328, allocations: 173.5 kB / 1.493 GB, free: 8.461 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/1.329, allocations: 272.7 kB / 1.493 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/1.33, allocations: 0.9434 MB / 1.494 GB, free: 7.668 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.33, allocations: 0 / 1.494 GB, free: 7.668 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.593e-06/1.33, allocations: 4 kB / 1.494 GB, free: 7.664 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.33, allocations: 1.094 kB / 1.494 GB, free: 7.664 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001621/1.332, allocations: 0.89 MB / 1.495 GB, free: 6.906 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.332, allocations: 16.52 kB / 1.495 GB, free: 6.898 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.333, allocations: 158.8 kB / 1.495 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/1.334, allocations: 0.5083 MB / 1.495 GB, free: 6.395 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/1.334, allocations: 20.03 kB / 1.495 GB, free: 6.387 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/1.334, allocations: 30.72 kB / 1.495 GB, free: 6.375 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/1.335, allocations: 318.3 kB / 1.496 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.335, allocations: 5.188 kB / 1.496 GB, free: 6.176 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/1.335, allocations: 15.06 kB / 1.496 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/1.335, allocations: 10.41 kB / 1.496 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/1.335, allocations: 219.7 kB / 1.496 GB, free: 6.059 MB / 1.17 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.002255/1.337, allocations: 1.528 MB / 1.497 GB, free: 4.645 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/1.338, allocations: 216.1 kB / 1.498 GB, free: 4.52 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/1.338, allocations: 102.4 kB / 1.498 GB, free: 4.465 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.338, allocations: 6.125 kB / 1.498 GB, free: 4.461 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/1.338, allocations: 162.9 kB / 1.498 GB, free: 4.344 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/1.338, allocations: 0 / 1.498 GB, free: 4.344 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003114/1.341, allocations: 1.098 MB / 1.499 GB, free: 3.613 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.341, allocations: 62 kB / 1.499 GB, free: 3.543 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/1.342, allocations: 476.4 kB / 1.499 GB, free: 3.219 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/1.342, allocations: 29.7 kB / 1.499 GB, free: 3.184 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/1.342, allocations: 252.5 kB / 1.5 GB, free: 2.934 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.342, allocations: 99.12 kB / 1.5 GB, free: 2.836 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/1.343, allocations: 86.02 kB / 1.5 GB, free: 2.746 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.343, allocations: 350.8 kB / 1.5 GB, free: 2.395 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.343, allocations: 124.7 kB / 1.5 GB, free: 2.273 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.343, allocations: 186.9 kB / 1.501 GB, free: 2.074 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/1.344, allocations: 311.4 kB / 1.501 GB, free: 1.754 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.344, allocations: 4 kB / 1.501 GB, free: 1.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001059/1.345, allocations: 494.3 kB / 1.501 GB, free: 1.258 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.345, allocations: 8 kB / 1.501 GB, free: 1.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.345, allocations: 0 / 1.501 GB, free: 1.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/1.345, allocations: 84.92 kB / 1.501 GB, free: 1.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/1.346, allocations: 67.91 kB / 1.501 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/1.348, allocations: 1.908 MB / 1.503 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/1.348, allocations: 11.97 kB / 1.503 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.348, allocations: 16 kB / 1.503 GB, free: 15.02 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002955/1.348, allocations: 190.6 kB / 1.504 GB, free: 14.83 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.982e-05/1.348, allocations: 55.67 kB / 1.504 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/1.349, allocations: 56.66 kB / 1.504 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/1.349, allocations: 4 kB / 1.504 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.349, allocations: 8.062 kB / 1.504 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.349, allocations: 3.984 kB / 1.504 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/1.35, allocations: 0.9604 MB / 1.505 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.35, allocations: 0 / 1.505 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/1.351, allocations: 67.89 kB / 1.505 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/1.351, allocations: 76.8 kB / 1.505 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/1.351, allocations: 15.92 kB / 1.505 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.353, allocations: 1.649 MB / 1.506 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.353, allocations: 4.031 kB / 1.506 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.354, allocations: 0.5632 MB / 1.507 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/1.354, allocations: 156.8 kB / 1.507 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/1.354, allocations: 12 kB / 1.507 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/1.354, allocations: 11.94 kB / 1.507 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/1.355, allocations: 27.91 kB / 1.507 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.355, allocations: 15.98 kB / 1.507 GB, free: 10.91 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004123/1.355, allocations: 311.1 kB / 1.507 GB, free: 10.6 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.355, allocations: 0 / 1.507 GB, free: 10.6 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005833/1.356, allocations: 123.9 kB / 1.508 GB, free: 10.48 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/1.357, allocations: 439.2 kB / 1.508 GB, free: 10.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007943/1.358, allocations: 410.6 kB / 1.508 GB, free: 9.793 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.358, allocations: 0 / 1.508 GB, free: 9.793 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/1.358, allocations: 243 kB / 1.509 GB, free: 9.543 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.36, allocations: 242.3 kB / 1.509 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/1.361, allocations: 1.04 MB / 1.51 GB, free: 8.234 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/1.362, allocations: 0.8541 MB / 1.511 GB, free: 7.352 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.362, allocations: 43.42 kB / 1.511 GB, free: 7.309 MB / 1.186 GB Notification: Performance of SimCode: time 2.8e-07/1.362, allocations: 0 / 1.511 GB, free: 7.309 MB / 1.186 GB Notification: Performance of Templates: time 0.01391/1.376, allocations: 9.417 MB / 1.52 GB, free: 13.95 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.028425053998944]