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.001848/0.001848, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002389/0.002389, allocations: 215.2 kB / 22.99 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.219/3.219, allocations: 0.4892 GB / 0.7951 GB, free: 35.34 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.002029/0.002029, allocations: 72.86 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1936/0.5618, allocations: 143.6 MB / 1.467 GB, free: 1.75 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006113/0.5679, allocations: 3.331 MB / 1.47 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.5685, allocations: 23.81 kB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5696, allocations: 266.5 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.5724, allocations: 0.9334 MB / 1.471 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.5737, allocations: 465 kB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.5755, allocations: 1.129 MB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.5761, allocations: 272.6 kB / 1.473 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.577, allocations: 462.3 kB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.578, allocations: 370.7 kB / 1.474 GB, free: 10.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.5781, allocations: 40 kB / 1.474 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5794, allocations: 0.5844 MB / 1.474 GB, free: 9.891 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.5796, allocations: 175.4 kB / 1.474 GB, free: 9.719 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.5799, allocations: 218.9 kB / 1.475 GB, free: 9.504 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.5814, allocations: 0.9381 MB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5814, allocations: 0 / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5814, allocations: 4 kB / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.5814, allocations: 4 kB / 1.475 GB, free: 8.555 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.001546/0.5829, allocations: 0.8152 MB / 1.476 GB, free: 7.707 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.583, allocations: 8.031 kB / 1.476 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.584, allocations: 159.5 kB / 1.476 GB, free: 7.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.5849, allocations: 446.2 kB / 1.477 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.5849, allocations: 24.66 kB / 1.477 GB, free: 7.059 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.5849, allocations: 28 kB / 1.477 GB, free: 7.031 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.5856, allocations: 435.7 kB / 1.477 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5856, allocations: 3.938 kB / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5857, allocations: 12 kB / 1.477 GB, free: 6.551 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.5857, allocations: 8.656 kB / 1.477 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.5861, allocations: 226.5 kB / 1.478 GB, free: 6.324 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.001871/0.588, allocations: 0.9138 MB / 1.478 GB, free: 5.375 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.5884, allocations: 220 kB / 1.479 GB, free: 5.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.5886, allocations: 100.8 kB / 1.479 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.5886, allocations: 4 kB / 1.479 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.589, allocations: 268.5 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.589, allocations: 4 kB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.002957/0.592, allocations: 1.016 MB / 1.48 GB, free: 3.691 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.592, allocations: 59.34 kB / 1.48 GB, free: 3.621 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.5926, allocations: 473.8 kB / 1.481 GB, free: 3.148 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.5927, allocations: 29.7 kB / 1.481 GB, free: 3.113 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5929, allocations: 252.5 kB / 1.481 GB, free: 2.863 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.593, allocations: 99.11 kB / 1.481 GB, free: 2.766 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.5931, allocations: 82.02 kB / 1.481 GB, free: 2.68 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5933, allocations: 358.8 kB / 1.481 GB, free: 2.32 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5935, allocations: 124.7 kB / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.5938, allocations: 186.7 kB / 1.482 GB, free: 2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.5943, allocations: 315.4 kB / 1.482 GB, free: 1.676 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5943, allocations: 0 / 1.482 GB, free: 1.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001051/0.5954, allocations: 494.5 kB / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5954, allocations: 4 kB / 1.482 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5954, allocations: 7.984 kB / 1.482 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.5958, allocations: 84.8 kB / 1.482 GB, free: 1.086 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.596, allocations: 55.92 kB / 1.483 GB, free: 1.031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.5981, allocations: 1.774 MB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.5984, allocations: 19.95 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.5984, allocations: 12 kB / 1.484 GB, free: 15.12 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.0002719/0.5987, allocations: 193.7 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.5988, allocations: 51.66 kB / 1.485 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.5997, allocations: 411.2 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5997, allocations: 4 kB / 1.485 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5997, allocations: 4 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5997, allocations: 0 / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.6013, allocations: 0.8466 MB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6013, allocations: 0 / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.6017, allocations: 63.91 kB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/0.602, allocations: 80.78 kB / 1.486 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.6021, allocations: 8.109 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.6036, allocations: 1.53 MB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6036, allocations: 0 / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6048, allocations: 0.5917 MB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.605, allocations: 71.73 kB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.605, allocations: 15.92 kB / 1.488 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.6054, allocations: 8 kB / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.6054, allocations: 23.95 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.6055, allocations: 8 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003796/0.6059, allocations: 307.1 kB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6059, allocations: 4 kB / 1.488 GB, free: 10.74 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005686/0.6064, allocations: 127.9 kB / 1.488 GB, free: 10.62 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 (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.001773/0.6082, allocations: 469.3 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008331/0.609, allocations: 419.2 kB / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.609, allocations: 0 / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6094, allocations: 246.5 kB / 1.49 GB, free: 9.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6105, allocations: 244.8 kB / 1.49 GB, free: 9.438 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.6124, allocations: 1.049 MB / 1.491 GB, free: 8.352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.6127, allocations: 255.8 kB / 1.491 GB, free: 8.074 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6129, allocations: 43.42 kB / 1.491 GB, free: 8.031 MB / 1.186 GB Notification: Performance of SimCode: time 5.01e-07/0.6129, allocations: 4 kB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of Templates: time 0.01474/0.6276, allocations: 9.578 MB / 1.5 GB, free: 14.48 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: 13.417833427898586]