Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001721/0.001721, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.002019/0.002019, allocations: 159 kB / 23.01 MB, free: 4.945 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.901/2.901, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.002122/0.002122, allocations: 71.88 kB / 1.009 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.019, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2001/1.219, allocations: 143.6 MB / 1.327 GB, free: 6.305 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006248/1.225, allocations: 3.337 MB / 1.33 GB, free: 2.957 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/1.225, allocations: 23.81 kB / 1.33 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/1.226, allocations: 266.5 kB / 1.33 GB, free: 2.672 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/1.228, allocations: 0.9373 MB / 1.331 GB, free: 1.73 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/1.229, allocations: 462.1 kB / 1.332 GB, free: 1.281 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001455/1.231, allocations: 1.13 MB / 1.333 GB, free: 152 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/1.231, allocations: 276.6 kB / 1.333 GB, free: 15.87 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007716/1.232, allocations: 470.2 kB / 1.334 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/1.233, allocations: 354.5 kB / 1.334 GB, free: 15.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/1.233, allocations: 40 kB / 1.334 GB, free: 15.02 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/1.234, allocations: 0.5844 MB / 1.334 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/1.235, allocations: 175.4 kB / 1.335 GB, free: 14.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/1.235, allocations: 222.9 kB / 1.335 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/1.236, allocations: 0.9301 MB / 1.336 GB, free: 13.12 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.236, allocations: 0 / 1.336 GB, free: 13.12 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/1.236, allocations: 0 / 1.336 GB, free: 13.12 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.236, allocations: 0 / 1.336 GB, free: 13.12 MB / 1.186 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.001492/1.238, allocations: 0.8192 MB / 1.337 GB, free: 12.27 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.238, allocations: 12.03 kB / 1.337 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.239, allocations: 159.4 kB / 1.337 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/1.239, allocations: 450.2 kB / 1.337 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/1.24, allocations: 28.59 kB / 1.337 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/1.24, allocations: 28 kB / 1.337 GB, free: 11.58 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/1.24, allocations: 435.8 kB / 1.338 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/1.24, allocations: 0 / 1.338 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/1.24, allocations: 12 kB / 1.338 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.24, allocations: 8.656 kB / 1.338 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/1.241, allocations: 226.4 kB / 1.338 GB, free: 10.88 MB / 1.186 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.001774/1.243, allocations: 0.9023 MB / 1.339 GB, free: 9.938 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/1.243, allocations: 206.8 kB / 1.339 GB, free: 9.727 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/1.243, allocations: 112.7 kB / 1.339 GB, free: 9.613 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/1.243, allocations: 0 / 1.339 GB, free: 9.613 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/1.244, allocations: 262.8 kB / 1.339 GB, free: 9.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/1.244, allocations: 4 kB / 1.339 GB, free: 9.316 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.002919/1.246, allocations: 1.037 MB / 1.34 GB, free: 8.242 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.247, allocations: 51.41 kB / 1.34 GB, free: 8.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/1.247, allocations: 473.8 kB / 1.341 GB, free: 7.711 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/1.247, allocations: 33.64 kB / 1.341 GB, free: 7.672 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/1.247, allocations: 248.5 kB / 1.341 GB, free: 7.426 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.247, allocations: 103.1 kB / 1.341 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.248, allocations: 74.06 kB / 1.341 GB, free: 7.246 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.248, allocations: 362.7 kB / 1.342 GB, free: 6.883 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/1.248, allocations: 124.7 kB / 1.342 GB, free: 6.762 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/1.248, allocations: 190.9 kB / 1.342 GB, free: 6.559 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/1.249, allocations: 303.9 kB / 1.342 GB, free: 6.246 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.249, allocations: 4 kB / 1.342 GB, free: 6.242 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001029/1.25, allocations: 498.3 kB / 1.343 GB, free: 5.746 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.25, allocations: 8 kB / 1.343 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.25, allocations: 0 / 1.343 GB, free: 5.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/1.25, allocations: 88.89 kB / 1.343 GB, free: 5.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/1.25, allocations: 67.91 kB / 1.343 GB, free: 5.582 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/1.252, allocations: 1.762 MB / 1.345 GB, free: 3.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/1.253, allocations: 12 kB / 1.345 GB, free: 3.707 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.253, allocations: 16.05 kB / 1.345 GB, free: 3.691 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.0002402/1.253, allocations: 193 kB / 1.345 GB, free: 3.496 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/1.253, allocations: 55.64 kB / 1.345 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/1.254, allocations: 399.2 kB / 1.345 GB, free: 3.043 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.254, allocations: 7.984 kB / 1.345 GB, free: 3.035 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/1.254, allocations: 4.125 kB / 1.345 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.254, allocations: 0 / 1.345 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.256, allocations: 0.8623 MB / 1.346 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.256, allocations: 48 / 1.346 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/1.256, allocations: 67.89 kB / 1.346 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/1.256, allocations: 84.73 kB / 1.346 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/1.256, allocations: 8 kB / 1.346 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.258, allocations: 1.515 MB / 1.348 GB, free: 356 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.258, allocations: 11.98 kB / 1.348 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.259, allocations: 0.5767 MB / 1.348 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/1.259, allocations: 75.73 kB / 1.348 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/1.259, allocations: 11.94 kB / 1.348 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/1.26, allocations: 11.98 kB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/1.26, allocations: 23.95 kB / 1.348 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.26, allocations: 12 kB / 1.348 GB, free: 15.6 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003753/1.26, allocations: 307.1 kB / 1.349 GB, free: 15.3 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.26, allocations: 0 / 1.349 GB, free: 15.3 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005399/1.261, allocations: 128 kB / 1.349 GB, free: 15.18 MB / 1.201 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 (27): * Single equations (assignments): 24 * 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.001741/1.262, allocations: 467.5 kB / 1.349 GB, free: 14.91 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007789/1.263, allocations: 414.6 kB / 1.35 GB, free: 14.49 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.263, allocations: 4 kB / 1.35 GB, free: 14.48 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.263, allocations: 238.6 kB / 1.35 GB, free: 14.24 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.265, allocations: 242.8 kB / 1.35 GB, free: 14.01 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.266, allocations: 1.025 MB / 1.351 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/1.267, allocations: 247.9 kB / 1.351 GB, free: 12.69 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002779/1.267, allocations: 88.33 kB / 1.351 GB, free: 12.61 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.267, allocations: 36.5 kB / 1.351 GB, free: 12.57 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/1.267, allocations: 0 / 1.351 GB, free: 12.57 MB / 1.201 GB Notification: Performance of Templates: time 0.01737/1.284, allocations: 9.415 MB / 1.361 GB, free: 3.336 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.482644670060836]