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.00163/0.00163, 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.00215/0.00215, allocations: 213.9 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.549/1.549, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.375/3.375, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 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.002249/0.002249, allocations: 66.59 kB / 1.187 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 181.9 MB / 1.365 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.192/0.5411, allocations: 143.6 MB / 1.505 GB, free: 13.56 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006372/0.5475, allocations: 3.333 MB / 1.508 GB, free: 10.22 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006105/0.5481, allocations: 23.81 kB / 1.508 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.5491, allocations: 270.5 kB / 1.508 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.5517, allocations: 0.9334 MB / 1.509 GB, free: 8.992 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.5531, allocations: 449 kB / 1.51 GB, free: 8.555 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.5549, allocations: 1.138 MB / 1.511 GB, free: 7.414 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.5554, allocations: 272.6 kB / 1.511 GB, free: 7.141 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.5563, allocations: 466.2 kB / 1.512 GB, free: 6.684 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.5574, allocations: 360.2 kB / 1.512 GB, free: 6.332 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.5575, allocations: 40 kB / 1.512 GB, free: 6.293 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.5588, allocations: 0.5883 MB / 1.512 GB, free: 5.703 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.559, allocations: 163.5 kB / 1.513 GB, free: 5.543 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.5593, allocations: 226.9 kB / 1.513 GB, free: 5.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.5608, allocations: 0.9458 MB / 1.514 GB, free: 4.371 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5608, allocations: 0 / 1.514 GB, free: 4.371 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5608, allocations: 0 / 1.514 GB, free: 4.371 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5608, allocations: 0 / 1.514 GB, free: 4.371 MB / 1.201 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.001573/0.5624, allocations: 0.8153 MB / 1.515 GB, free: 3.523 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5624, allocations: 8.031 kB / 1.515 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5634, allocations: 159.5 kB / 1.515 GB, free: 3.359 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/0.5643, allocations: 454.2 kB / 1.515 GB, free: 2.891 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.5643, allocations: 24.66 kB / 1.515 GB, free: 2.867 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.5644, allocations: 28 kB / 1.515 GB, free: 2.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.5651, allocations: 427.9 kB / 1.516 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5651, allocations: 4 kB / 1.516 GB, free: 2.379 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.5651, allocations: 8 kB / 1.516 GB, free: 2.371 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5651, allocations: 12.66 kB / 1.516 GB, free: 2.359 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.5656, allocations: 222.4 kB / 1.516 GB, free: 2.145 MB / 1.201 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.001844/0.5674, allocations: 0.9138 MB / 1.517 GB, free: 1.195 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.5679, allocations: 215.8 kB / 1.517 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.5681, allocations: 108.8 kB / 1.517 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5681, allocations: 4 kB / 1.517 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/0.5685, allocations: 268.3 kB / 1.517 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.5685, allocations: 0 / 1.517 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.002924/0.5714, allocations: 1.032 MB / 1.518 GB, free: 15.5 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5714, allocations: 59.39 kB / 1.518 GB, free: 15.43 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.572, allocations: 465.8 kB / 1.519 GB, free: 14.96 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.5721, allocations: 37.7 kB / 1.519 GB, free: 14.92 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.5723, allocations: 240.5 kB / 1.519 GB, free: 14.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5724, allocations: 111 kB / 1.519 GB, free: 14.57 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5726, allocations: 78.06 kB / 1.519 GB, free: 14.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5727, allocations: 350.8 kB / 1.52 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.573, allocations: 128.7 kB / 1.52 GB, free: 14.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.5733, allocations: 186.8 kB / 1.52 GB, free: 13.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.5738, allocations: 307.9 kB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5738, allocations: 0 / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001064/0.5749, allocations: 0.4905 MB / 1.521 GB, free: 13 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5749, allocations: 8 kB / 1.521 GB, free: 12.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5749, allocations: 4.156 kB / 1.521 GB, free: 12.99 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.5753, allocations: 80.8 kB / 1.521 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5756, allocations: 63.91 kB / 1.521 GB, free: 12.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.5777, allocations: 1.77 MB / 1.523 GB, free: 10.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.578, allocations: 8.031 kB / 1.523 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.5781, allocations: 19.98 kB / 1.523 GB, free: 10.95 MB / 1.217 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.0002939/0.5783, allocations: 185.8 kB / 1.523 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.5784, allocations: 51.59 kB / 1.523 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009711/0.5794, allocations: 415 kB / 1.523 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5794, allocations: 4 kB / 1.523 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5794, allocations: 3.938 kB / 1.523 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5794, allocations: 3.984 kB / 1.523 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.5811, allocations: 0.8429 MB / 1.524 GB, free: 9.391 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5811, allocations: 4 kB / 1.524 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.5814, allocations: 59.97 kB / 1.524 GB, free: 9.328 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/0.5818, allocations: 84.77 kB / 1.524 GB, free: 9.242 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.5818, allocations: 12 kB / 1.524 GB, free: 9.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.5833, allocations: 1.515 MB / 1.526 GB, free: 7.613 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5833, allocations: 0 / 1.526 GB, free: 7.613 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5845, allocations: 0.5841 MB / 1.526 GB, free: 7.008 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.5847, allocations: 79.72 kB / 1.526 GB, free: 6.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.5847, allocations: 12 kB / 1.526 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5851, allocations: 11.98 kB / 1.526 GB, free: 6.906 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.5852, allocations: 23.95 kB / 1.526 GB, free: 6.883 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.5852, allocations: 8 kB / 1.526 GB, free: 6.875 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004009/0.5856, allocations: 311.1 kB / 1.527 GB, free: 6.57 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5856, allocations: 3.938 kB / 1.527 GB, free: 6.566 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005748/0.5862, allocations: 127.9 kB / 1.527 GB, free: 6.441 MB / 1.217 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.001765/0.5879, allocations: 472.1 kB / 1.527 GB, free: 6.16 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000802/0.5887, allocations: 406.4 kB / 1.528 GB, free: 5.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5887, allocations: 0 / 1.528 GB, free: 5.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.5891, allocations: 246.9 kB / 1.528 GB, free: 5.496 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5902, allocations: 236.2 kB / 1.528 GB, free: 5.277 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5922, allocations: 1.061 MB / 1.529 GB, free: 4.18 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5926, allocations: 255.8 kB / 1.529 GB, free: 3.906 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5927, allocations: 39.44 kB / 1.529 GB, free: 3.867 MB / 1.217 GB Notification: Performance of SimCode: time 4.6e-07/0.5927, allocations: 0 / 1.529 GB, free: 3.867 MB / 1.217 GB Notification: Performance of Templates: time 0.01499/0.6077, allocations: 9.596 MB / 1.539 GB, free: 10.3 MB / 1.232 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 -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: 13.421046603936702]