Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001198/0.001198, 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.001389/0.001389, allocations: 215.2 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.309/1.309, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.919/2.919, allocations: 0.49 GB / 0.7951 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_12_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.001898/0.001898, allocations: 71.09 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002649/0.3022, allocations: 1.559 MB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3035, allocations: 0.853 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.3036, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.3036, allocations: 7.922 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.3037, allocations: 15.86 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.304, allocations: 99.64 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3041, allocations: 63.72 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.3042, allocations: 7.984 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3043, allocations: 39.86 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.3044, allocations: 23.91 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3044, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3046, allocations: 67.94 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3046, allocations: 11.94 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3046, allocations: 27.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3048, allocations: 107.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3048, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3048, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3048, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 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.0004408/0.3052, allocations: 315.2 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3053, allocations: 8.031 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.3053, allocations: 30.75 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.3058, allocations: 44.84 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.306, allocations: 142.4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.306, allocations: 384 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.306, allocations: 384 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3062, allocations: 89.75 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3062, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3062, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.3062, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.3065, allocations: 71.88 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.307, allocations: 283.9 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3072, allocations: 74.53 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3073, allocations: 36.92 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3073, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3074, allocations: 38.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3074, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004858/0.3079, allocations: 141.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3079, allocations: 51.41 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.308, allocations: 130.2 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.308, allocations: 25.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.3081, allocations: 88.14 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3081, allocations: 19.83 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.3081, allocations: 21.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3083, allocations: 318.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3084, allocations: 31.97 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3085, allocations: 35.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3087, allocations: 73.02 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3088, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000294/0.309, allocations: 105.6 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3091, allocations: 9.562 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3091, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3091, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3092, allocations: 11.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3092, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.3093, allocations: 7.984 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3093, allocations: 4 kB / 1.331 GB, free: 12.71 MB / 1.029 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.727e-05/0.3094, allocations: 122.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3094, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3095, allocations: 11.98 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3095, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3095, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3095, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3097, allocations: 172.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3097, allocations: 3.938 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3098, allocations: 23.97 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3098, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3098, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3098, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3098, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3102, allocations: 211.4 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3102, allocations: 11.95 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3102, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3103, allocations: 7.984 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3103, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3103, allocations: 7.984 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.3104, allocations: 95.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3104, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002533/0.3106, allocations: 39.88 kB / 1.332 GB, free: 11.94 MB / 1.029 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.0006969/0.3113, allocations: 0.7591 MB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3116, allocations: 71.94 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3116, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3118, allocations: 47.89 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.312, allocations: 4 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3139, allocations: 1.471 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3142, allocations: 0.6846 MB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.3143, allocations: 23.97 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.3143, allocations: 27.41 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3143, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.3434, allocations: 2.306 MB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.673/10.02, allocations: 11.11 kB / 1.337 GB, free: 6.547 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.994241586999124]