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.001336/0.001336, 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.00162/0.00162, allocations: 212.5 kB / 22.99 MB, free: 4.98 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.288/3.288, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002039/0.002039, allocations: 63.56 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3498, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1815/0.5313, allocations: 143.6 MB / 1.467 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005923/0.5372, allocations: 3.331 MB / 1.471 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.5376, allocations: 23.81 kB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.5385, allocations: 266.5 kB / 1.471 GB, free: 13.22 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.5407, allocations: 0.9432 MB / 1.472 GB, free: 12.28 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.5417, allocations: 457.1 kB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.5432, allocations: 1.142 MB / 1.473 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.5436, allocations: 280.5 kB / 1.474 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.5444, allocations: 466.3 kB / 1.474 GB, free: 9.945 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/0.5453, allocations: 378.4 kB / 1.474 GB, free: 9.578 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.5454, allocations: 44 kB / 1.474 GB, free: 9.535 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.5465, allocations: 0.5883 MB / 1.475 GB, free: 8.945 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.5467, allocations: 171.5 kB / 1.475 GB, free: 8.777 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.547, allocations: 222.9 kB / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.5482, allocations: 0.9342 MB / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5482, allocations: 0 / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5482, allocations: 0 / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5482, allocations: 4 kB / 1.476 GB, free: 7.617 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.001483/0.5497, allocations: 0.823 MB / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.5497, allocations: 12.03 kB / 1.477 GB, free: 6.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5508, allocations: 151.5 kB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.5516, allocations: 454.2 kB / 1.478 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.5517, allocations: 24.64 kB / 1.478 GB, free: 6.105 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.5517, allocations: 28 kB / 1.478 GB, free: 6.078 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.5524, allocations: 423.9 kB / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.5524, allocations: 0 / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.5525, allocations: 11.94 kB / 1.478 GB, free: 5.613 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5525, allocations: 20.58 kB / 1.478 GB, free: 5.594 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.5529, allocations: 218.5 kB / 1.478 GB, free: 5.383 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.001958/0.5549, allocations: 0.9138 MB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.5554, allocations: 222.7 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.5556, allocations: 102.6 kB / 1.48 GB, free: 4.105 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.5556, allocations: 4 kB / 1.48 GB, free: 4.102 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.556, allocations: 262.1 kB / 1.48 GB, free: 3.809 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.556, allocations: 0 / 1.48 GB, free: 3.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003145/0.5591, allocations: 1.021 MB / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.5592, allocations: 59.34 kB / 1.481 GB, free: 2.68 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.5598, allocations: 473.8 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.5598, allocations: 33.7 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.56, allocations: 240.5 kB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5602, allocations: 115 kB / 1.482 GB, free: 1.82 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5603, allocations: 74.03 kB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5605, allocations: 358.8 kB / 1.482 GB, free: 1.383 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.5607, allocations: 132.6 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.561, allocations: 186.7 kB / 1.482 GB, free: 1.055 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.5616, allocations: 311.4 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5616, allocations: 0 / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001058/0.5626, allocations: 498.5 kB / 1.483 GB, free: 244 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5626, allocations: 8 kB / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.5626, allocations: 4 kB / 1.483 GB, free: 232 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.563, allocations: 80.8 kB / 1.483 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.5633, allocations: 67.91 kB / 1.483 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.5654, allocations: 1.766 MB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.5657, allocations: 12 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5657, allocations: 12 kB / 1.485 GB, free: 14.19 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.0002833/0.566, allocations: 191.7 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.5661, allocations: 51.66 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.5671, allocations: 411.2 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.5671, allocations: 8.031 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5671, allocations: 0 / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5671, allocations: 0 / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.5687, allocations: 0.8544 MB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5688, allocations: 128 / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.5691, allocations: 63.95 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000322/0.5695, allocations: 80.73 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.5695, allocations: 15.92 kB / 1.487 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.571, allocations: 1.511 MB / 1.488 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.571, allocations: 0 / 1.488 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.5721, allocations: 0.5916 MB / 1.489 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.5723, allocations: 83.72 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.5724, allocations: 11.94 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.5728, allocations: 8 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.5728, allocations: 27.89 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.5729, allocations: 12.22 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003703/0.5732, allocations: 307.1 kB / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5732, allocations: 0 / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005807/0.5738, allocations: 131.9 kB / 1.489 GB, free: 9.672 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.001775/0.5756, allocations: 466.1 kB / 1.49 GB, free: 9.395 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.5764, allocations: 415.2 kB / 1.49 GB, free: 8.977 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5765, allocations: 4.062 kB / 1.49 GB, free: 8.973 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.5768, allocations: 250.5 kB / 1.49 GB, free: 8.715 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.578, allocations: 242 kB / 1.491 GB, free: 8.492 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.5799, allocations: 1.012 MB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.5802, allocations: 251.8 kB / 1.492 GB, free: 7.176 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.5805, allocations: 84.33 kB / 1.492 GB, free: 7.094 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5806, allocations: 43.42 kB / 1.492 GB, free: 7.051 MB / 1.186 GB Notification: Performance of SimCode: time 5.62e-07/0.5806, allocations: 0 / 1.492 GB, free: 7.051 MB / 1.186 GB Notification: Performance of Templates: time 0.01884/0.5995, allocations: 10.13 MB / 1.502 GB, free: 13.12 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 -s gbode -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: 9.654736260999925]