Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.001289/0.001289, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001654/0.001654, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.075/3.075, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",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.002176/0.002176, allocations: 77.83 kB / 1.172 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002819/0.3181, allocations: 1.563 MB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3194, allocations: 0.8302 MB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.3195, allocations: 3.938 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.3195, allocations: 3.938 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.3196, allocations: 23.84 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.32, allocations: 99.64 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3201, allocations: 55.78 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.3202, allocations: 11.98 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3203, allocations: 31.92 kB / 1.35 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.3204, allocations: 23.86 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3204, allocations: 7.938 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3206, allocations: 75.92 kB / 1.35 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.3206, allocations: 11.94 kB / 1.35 GB, free: 7.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3206, allocations: 27.8 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3208, allocations: 107.8 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3208, allocations: 0 / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3208, allocations: 0 / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3208, allocations: 0 / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004973/0.3213, allocations: 388.8 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3214, allocations: 11.98 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.3214, allocations: 34.75 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.3219, allocations: 40.84 kB / 1.351 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.3221, allocations: 200.2 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3221, allocations: 4.375 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3222, allocations: 384 / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.3224, allocations: 93.7 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3224, allocations: 0 / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3225, allocations: 7.969 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3225, allocations: 0 / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.3227, allocations: 63.95 kB / 1.351 GB, free: 6.121 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.3232, allocations: 328.7 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3235, allocations: 66.55 kB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3236, allocations: 44.86 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3237, allocations: 4 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3237, allocations: 30.56 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3237, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.00054/0.3242, allocations: 133.6 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3243, allocations: 59.41 kB / 1.352 GB, free: 5.379 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3244, allocations: 119.6 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3244, allocations: 25.7 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3244, allocations: 96.08 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.3245, allocations: 11.83 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3245, allocations: 21.7 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3246, allocations: 326.8 kB / 1.353 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3248, allocations: 31.92 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3249, allocations: 31.97 kB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3252, allocations: 64.81 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3252, allocations: 0 / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003293/0.3255, allocations: 113.6 kB / 1.353 GB, free: 4.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3255, allocations: 4 kB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3255, allocations: 0 / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3255, allocations: 0 / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3257, allocations: 19.97 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3257, allocations: 3.938 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.3258, allocations: 8 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3258, allocations: 11.92 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.229e-05/0.3259, allocations: 113.8 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3259, allocations: 7.953 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.326, allocations: 7.906 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.326, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.326, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.326, allocations: 0 / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.3262, allocations: 205.5 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3262, allocations: 0 / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.3263, allocations: 11.98 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3263, allocations: 0 / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3263, allocations: 7.984 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3263, allocations: 0 / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3263, allocations: 0 / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.3267, allocations: 219.7 kB / 1.353 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.3268, allocations: 77.11 kB / 1.353 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3268, allocations: 4 kB / 1.353 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3269, allocations: 7.984 kB / 1.353 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3269, allocations: 8 kB / 1.354 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.327, allocations: 0 / 1.354 GB, free: 3.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.327, allocations: 102.3 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.327, allocations: 3.938 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000264/0.3273, allocations: 27.92 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007528/0.328, allocations: 0.763 MB / 1.354 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3284, allocations: 75.88 kB / 1.354 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3284, allocations: 0 / 1.354 GB, free: 2.711 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3285, allocations: 35.97 kB / 1.354 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3288, allocations: 8 kB / 1.354 GB, free: 2.668 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3307, allocations: 1.467 MB / 1.356 GB, free: 1.125 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.331, allocations: 0.6885 MB / 1.357 GB, free: 420 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.238e-05/0.3311, allocations: 15.98 kB / 1.357 GB, free: 404 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.3311, allocations: 19.42 kB / 1.357 GB, free: 384 kB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3311, allocations: 0 / 1.357 GB, free: 384 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.3557, allocations: 2.207 MB / 1.359 GB, free: 14.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.307, allocations: 5.938 kB / 1.359 GB, free: 14.27 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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: 14.659517518011853]