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.001855/0.001855, allocations: 113 kB / 18.94 MB, free: 2.934 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.002529/0.002529, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 8.016 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.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_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.002001/0.002001, allocations: 70.59 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4455, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2221/0.6675, allocations: 166.5 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007139/0.6747, allocations: 3.586 MB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.6756, allocations: 23.81 kB / 1.492 GB, free: 7.219 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.6766, allocations: 290.4 kB / 1.492 GB, free: 6.934 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.6796, allocations: 0.9342 MB / 1.493 GB, free: 5.996 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.6811, allocations: 466.1 kB / 1.494 GB, free: 5.543 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.6832, allocations: 1.146 MB / 1.495 GB, free: 4.395 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.6838, allocations: 284.6 kB / 1.495 GB, free: 4.105 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.6847, allocations: 474.2 kB / 1.495 GB, free: 3.641 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.6858, allocations: 388.1 kB / 1.496 GB, free: 3.262 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.6858, allocations: 40 kB / 1.496 GB, free: 3.223 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.6875, allocations: 0.7482 MB / 1.497 GB, free: 2.473 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.6878, allocations: 175.4 kB / 1.497 GB, free: 2.301 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.6882, allocations: 270.6 kB / 1.497 GB, free: 2.035 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.6898, allocations: 0.9537 MB / 1.498 GB, free: 1.078 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6898, allocations: 0 / 1.498 GB, free: 1.078 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6898, allocations: 0 / 1.498 GB, free: 1.078 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6898, allocations: 4 kB / 1.498 GB, free: 1.074 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.001659/0.6915, allocations: 0.8153 MB / 1.499 GB, free: 232 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6915, allocations: 8.031 kB / 1.499 GB, free: 224 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.6916, allocations: 66.53 kB / 1.499 GB, free: 148 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.6927, allocations: 155.5 kB / 1.499 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.6936, allocations: 454.1 kB / 1.499 GB, free: 15.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.6936, allocations: 24.64 kB / 1.499 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.6937, allocations: 28 kB / 1.499 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.6942, allocations: 321 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6943, allocations: 4 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.6943, allocations: 12 kB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.6943, allocations: 8.656 kB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.6948, allocations: 230.4 kB / 1.5 GB, free: 14.89 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.002321/0.6971, allocations: 1.48 MB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.6975, allocations: 218.6 kB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.6977, allocations: 100.8 kB / 1.502 GB, free: 12.94 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.6977, allocations: 4 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.6981, allocations: 159.2 kB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.6981, allocations: 3.938 kB / 1.502 GB, free: 12.76 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.003105/0.7012, allocations: 1.022 MB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.7012, allocations: 55.34 kB / 1.503 GB, free: 11.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.7019, allocations: 473.9 kB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.7019, allocations: 33.7 kB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.7021, allocations: 248.5 kB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.7023, allocations: 107.1 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.7024, allocations: 78.03 kB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7026, allocations: 358.8 kB / 1.504 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.7028, allocations: 124.7 kB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.7031, allocations: 186.7 kB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.7037, allocations: 307.4 kB / 1.505 GB, free: 9.699 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7037, allocations: 0 / 1.505 GB, free: 9.699 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001067/0.7047, allocations: 494.4 kB / 1.505 GB, free: 9.207 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7048, allocations: 4 kB / 1.505 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7048, allocations: 4 kB / 1.505 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.7052, allocations: 84.92 kB / 1.505 GB, free: 9.113 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.7054, allocations: 67.91 kB / 1.505 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.7075, allocations: 1.808 MB / 1.507 GB, free: 7.125 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.7078, allocations: 8 kB / 1.507 GB, free: 7.117 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.7079, allocations: 12 kB / 1.507 GB, free: 7.105 MB / 1.201 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.0003095/0.7082, allocations: 199.3 kB / 1.507 GB, free: 6.902 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.7083, allocations: 51.78 kB / 1.507 GB, free: 6.852 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/0.7092, allocations: 399.7 kB / 1.508 GB, free: 6.449 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.7092, allocations: 11.92 kB / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.7092, allocations: 0 / 1.508 GB, free: 6.438 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7092, allocations: 4 kB / 1.508 GB, free: 6.434 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.7109, allocations: 0.9435 MB / 1.509 GB, free: 5.438 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.711, allocations: 3.984 kB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.7113, allocations: 59.91 kB / 1.509 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.7116, allocations: 80.8 kB / 1.509 GB, free: 5.293 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.7117, allocations: 7.984 kB / 1.509 GB, free: 5.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.7133, allocations: 1.553 MB / 1.51 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7133, allocations: 0 / 1.51 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7144, allocations: 0.5716 MB / 1.511 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.7147, allocations: 75.72 kB / 1.511 GB, free: 2.953 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.7147, allocations: 11.94 kB / 1.511 GB, free: 2.941 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.7151, allocations: 9.203 kB / 1.511 GB, free: 2.934 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.7151, allocations: 24.19 kB / 1.511 GB, free: 2.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.7152, allocations: 12 kB / 1.511 GB, free: 2.898 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004366/0.7156, allocations: 319.1 kB / 1.511 GB, free: 2.59 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7156, allocations: 0 / 1.511 GB, free: 2.59 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006035/0.7162, allocations: 127.9 kB / 1.512 GB, free: 2.465 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 (26): * Single equations (assignments): 23 * 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.003007/0.7192, allocations: 1.449 MB / 1.513 GB, free: 1.148 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008692/0.7201, allocations: 414.7 kB / 1.513 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7201, allocations: 0 / 1.513 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.7204, allocations: 238.5 kB / 1.514 GB, free: 496 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.7217, allocations: 251.7 kB / 1.514 GB, free: 256 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.7284, allocations: 4.172 MB / 1.518 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.7289, allocations: 0.858 MB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003989/0.7293, allocations: 84.31 kB / 1.519 GB, free: 10.98 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.7296, allocations: 155.4 kB / 1.519 GB, free: 10.83 MB / 1.217 GB Notification: Performance of SimCode: time 1.523e-06/0.7296, allocations: 0 / 1.519 GB, free: 10.83 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.7801, allocations: 13.37 MB / 1.532 GB, free: 13.65 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.91, allocations: 11.94 kB / 1.532 GB, free: 13.64 MB / 1.232 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/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] "Error: Could not read variable vol.T_start in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.22318135000023]