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.001717/0.001717, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002358/0.002358, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.789 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.394/3.394, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [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.002061/0.002061, allocations: 76.06 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4387, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2075/0.6462, allocations: 143.6 MB / 1.504 GB, free: 13.97 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006827/0.653, allocations: 3.334 MB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.654, allocations: 23.81 kB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.6552, allocations: 270.5 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.6583, allocations: 0.9373 MB / 1.508 GB, free: 9.402 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.6598, allocations: 446.8 kB / 1.508 GB, free: 8.965 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.662, allocations: 1.134 MB / 1.51 GB, free: 7.828 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.6627, allocations: 272.6 kB / 1.51 GB, free: 7.555 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.664, allocations: 466.3 kB / 1.51 GB, free: 7.098 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.6654, allocations: 366.7 kB / 1.511 GB, free: 6.742 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.6656, allocations: 43.94 kB / 1.511 GB, free: 6.699 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.6673, allocations: 0.5766 MB / 1.511 GB, free: 6.121 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.6677, allocations: 179.4 kB / 1.511 GB, free: 5.945 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.6682, allocations: 222.9 kB / 1.512 GB, free: 5.727 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.67, allocations: 0.9381 MB / 1.513 GB, free: 4.785 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6701, allocations: 0 / 1.513 GB, free: 4.785 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6701, allocations: 0 / 1.513 GB, free: 4.785 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.6701, allocations: 0 / 1.513 GB, free: 4.785 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.001802/0.6719, allocations: 0.8153 MB / 1.513 GB, free: 3.938 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.6719, allocations: 12.03 kB / 1.513 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.543e-05/0.672, allocations: 62.55 kB / 1.513 GB, free: 3.855 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6731, allocations: 151.5 kB / 1.514 GB, free: 3.707 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.6739, allocations: 454.2 kB / 1.514 GB, free: 3.238 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.6739, allocations: 20.66 kB / 1.514 GB, free: 3.219 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.674, allocations: 31.94 kB / 1.514 GB, free: 3.188 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.6747, allocations: 435.8 kB / 1.514 GB, free: 2.723 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6747, allocations: 3.984 kB / 1.514 GB, free: 2.719 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.6747, allocations: 12 kB / 1.514 GB, free: 2.707 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.6747, allocations: 8.656 kB / 1.514 GB, free: 2.699 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.6751, allocations: 230.4 kB / 1.515 GB, free: 2.477 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.001881/0.677, allocations: 0.9602 MB / 1.516 GB, free: 1.469 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.6775, allocations: 219.8 kB / 1.516 GB, free: 1.25 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.6777, allocations: 104.8 kB / 1.516 GB, free: 1.145 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.6777, allocations: 4 kB / 1.516 GB, free: 1.141 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.6781, allocations: 272.2 kB / 1.516 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.6781, allocations: 4 kB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.00285/0.6809, allocations: 1.027 MB / 1.517 GB, free: 15.77 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.681, allocations: 59.34 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.6816, allocations: 481.9 kB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.6817, allocations: 29.7 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.6819, allocations: 244.5 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.682, allocations: 111 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6822, allocations: 74.06 kB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.6824, allocations: 354.8 kB / 1.519 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.6827, allocations: 132.7 kB / 1.519 GB, free: 14.27 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.683, allocations: 182.9 kB / 1.519 GB, free: 14.08 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.6834, allocations: 303.9 kB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6834, allocations: 3.938 kB / 1.519 GB, free: 13.76 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009689/0.6844, allocations: 498.3 kB / 1.52 GB, free: 13.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6844, allocations: 4 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6844, allocations: 4 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.6848, allocations: 84.95 kB / 1.52 GB, free: 13.17 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.6851, allocations: 67.84 kB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.6871, allocations: 1.793 MB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.6875, allocations: 20.08 kB / 1.522 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.6875, allocations: 20.06 kB / 1.522 GB, free: 11.16 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.0002592/0.6877, allocations: 193.7 kB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.6878, allocations: 47.72 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.6887, allocations: 406.9 kB / 1.522 GB, free: 10.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6887, allocations: 7.938 kB / 1.522 GB, free: 10.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6887, allocations: 4 kB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6887, allocations: 0 / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.6904, allocations: 0.8893 MB / 1.523 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6904, allocations: 0 / 1.523 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.6907, allocations: 63.91 kB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.691, allocations: 80.78 kB / 1.523 GB, free: 9.406 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.6911, allocations: 8 kB / 1.523 GB, free: 9.398 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.6926, allocations: 1.541 MB / 1.525 GB, free: 7.742 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6926, allocations: 4.062 kB / 1.525 GB, free: 7.738 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.6937, allocations: 0.588 MB / 1.525 GB, free: 7.129 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.6939, allocations: 71.73 kB / 1.525 GB, free: 7.059 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.694, allocations: 15.98 kB / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6943, allocations: 8 kB / 1.525 GB, free: 7.035 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.6944, allocations: 19.95 kB / 1.525 GB, free: 7.016 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.6944, allocations: 12 kB / 1.525 GB, free: 7.004 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003849/0.6948, allocations: 323.1 kB / 1.526 GB, free: 6.688 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6948, allocations: 0 / 1.526 GB, free: 6.688 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005406/0.6953, allocations: 123.9 kB / 1.526 GB, free: 6.566 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.003135/0.6985, allocations: 1.476 MB / 1.527 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.6993, allocations: 402.5 kB / 1.528 GB, free: 4.84 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6993, allocations: 0 / 1.528 GB, free: 4.84 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.6996, allocations: 259.3 kB / 1.528 GB, free: 4.574 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.7008, allocations: 247.3 kB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/0.7071, allocations: 4.203 MB / 1.532 GB, free: 24 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.7074, allocations: 251.8 kB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003929/0.7078, allocations: 92.34 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.7081, allocations: 159.4 kB / 1.533 GB, free: 15.51 MB / 1.232 GB Notification: Performance of SimCode: time 9.32e-07/0.7081, allocations: 0 / 1.533 GB, free: 15.51 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/0.7638, allocations: 14.6 MB / 1.547 GB, free: 1.137 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.25, allocations: 6.844 kB / 1.547 GB, free: 1.137 MB / 1.232 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/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] "Error: Could not read variable vol.T_start in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.806950831785798]