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.001404/0.001404, allocations: 114.3 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.001847/0.001847, allocations: 216.1 kB / 22.25 MB, free: 5.082 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.314/1.314, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.926/2.926, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002068/0.002068, allocations: 67.64 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002481/0.3004, allocations: 1.574 MB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3016, allocations: 0.8497 MB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.3017, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.3017, allocations: 3.938 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.3018, allocations: 15.86 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.3021, allocations: 103.6 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3022, allocations: 55.78 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.3023, allocations: 8 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3025, allocations: 39.86 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.3025, allocations: 27.84 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3025, allocations: 4 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3027, allocations: 67.94 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.3027, allocations: 11.92 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.3027, allocations: 27.86 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3029, allocations: 107.9 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3029, allocations: 0 / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3029, allocations: 0 / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.3029, allocations: 0 / 1.356 GB, free: 5.504 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.0004445/0.3034, allocations: 305.9 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3034, allocations: 8.031 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3034, allocations: 38.73 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.3038, allocations: 48.78 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.304, allocations: 138.3 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.304, allocations: 4.375 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3041, allocations: 384 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3043, allocations: 85.75 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3043, allocations: 4 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3043, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3043, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.3046, allocations: 67.94 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.305, allocations: 291.9 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3052, allocations: 74.47 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3054, allocations: 36.94 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3054, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3054, allocations: 38.55 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3054, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004753/0.3059, allocations: 137.5 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3059, allocations: 51.41 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.306, allocations: 125.8 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.306, allocations: 25.7 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.3061, allocations: 96.03 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3061, allocations: 7.891 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3062, allocations: 21.7 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3063, allocations: 326.8 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3064, allocations: 31.97 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3065, allocations: 31.98 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3068, allocations: 68.8 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3068, allocations: 0 / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.3071, allocations: 109.5 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3071, allocations: 4 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3071, allocations: 0 / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3071, allocations: 4.328 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3072, allocations: 15.97 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3072, allocations: 0 / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3073, allocations: 11.98 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3073, allocations: 4 kB / 1.358 GB, free: 3.141 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.265e-05/0.3074, allocations: 125.7 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3074, allocations: 11.94 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.3075, allocations: 11.98 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3075, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3075, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3075, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.3077, allocations: 172.5 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3077, allocations: 3.938 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3078, allocations: 19.98 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3078, allocations: 0 / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3078, allocations: 3.984 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3078, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3078, allocations: 0 / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3081, allocations: 215.3 kB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.3081, allocations: 0 / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3082, allocations: 4 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3083, allocations: 11.98 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3083, allocations: 0 / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3083, allocations: 7.984 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.3084, allocations: 97.45 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3084, allocations: 0 / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002474/0.3086, allocations: 35.88 kB / 1.358 GB, free: 2.363 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.0006888/0.3093, allocations: 0.7552 MB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.3096, allocations: 75.94 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3096, allocations: 0 / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3097, allocations: 39.95 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.31, allocations: 4 kB / 1.359 GB, free: 1.465 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3118, allocations: 1.467 MB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3121, allocations: 0.6924 MB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.849e-05/0.3122, allocations: 16.31 kB / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.3122, allocations: 19.42 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3122, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.3394, allocations: 2.326 MB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.459/9.799, allocations: 7.016 kB / 1.364 GB, free: 12.97 MB / 1.061 GB " [Timeout remaining time 290] (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: 15.853568179999456]