Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00173/0.00173, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002239/0.002239, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.493/1.493, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_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.002126/0.002126, allocations: 67.89 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3455, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00308/0.3485, allocations: 1.549 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3501, allocations: 0.7731 MB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.935e-05/0.3502, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.3503, allocations: 7.922 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.3503, allocations: 15.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.3509, allocations: 99.64 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.3511, allocations: 55.78 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3512, allocations: 11.98 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3513, allocations: 31.86 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.3514, allocations: 27.84 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3515, allocations: 4 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3517, allocations: 67.94 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3517, allocations: 11.94 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3517, allocations: 15.92 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.352, allocations: 111.1 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.352, allocations: 4 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.352, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.352, allocations: 4 kB / 1.285 GB, free: 9.605 MB / 0.9825 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.000601/0.3526, allocations: 301.9 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3526, allocations: 8.031 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.3527, allocations: 50.62 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.3532, allocations: 40.89 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3535, allocations: 142.3 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.3535, allocations: 4.359 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3535, allocations: 8.375 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.3538, allocations: 73.77 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3538, allocations: 0 / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3538, allocations: 4 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3538, allocations: 4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.3541, allocations: 67.92 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.3547, allocations: 279.9 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.3549, allocations: 74.47 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.3551, allocations: 36.94 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3551, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3551, allocations: 34.55 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3551, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000541/0.3556, allocations: 145.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3557, allocations: 51.41 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3558, allocations: 123.5 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3558, allocations: 25.7 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.3559, allocations: 88.14 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3559, allocations: 11.84 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.356, allocations: 21.7 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3561, allocations: 326.8 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3562, allocations: 31.97 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3564, allocations: 31.98 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3566, allocations: 68.8 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3566, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.3569, allocations: 105.6 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3569, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3569, allocations: 4 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.357, allocations: 0 / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3571, allocations: 15.97 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3571, allocations: 0 / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.3572, allocations: 11.92 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3572, allocations: 4 kB / 1.287 GB, free: 7.254 MB / 0.9825 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 0.000101/0.3573, allocations: 121.8 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3573, allocations: 3.953 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.3574, allocations: 8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3574, allocations: 3.984 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3574, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3574, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.3576, allocations: 160.6 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3576, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3577, allocations: 19.98 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3577, allocations: 4 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3578, allocations: 3.984 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3578, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3578, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3582, allocations: 211.6 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.3582, allocations: 7.953 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3582, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3583, allocations: 11.98 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.3583, allocations: 8.031 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3584, allocations: 3.984 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.014e-05/0.3584, allocations: 95.27 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002762/0.3587, allocations: 27.94 kB / 1.288 GB, free: 6.504 MB / 0.9825 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.0007832/0.3595, allocations: 0.7668 MB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.3598, allocations: 67.94 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3598, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.36, allocations: 35.97 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3602, allocations: 19.89 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3623, allocations: 1.473 MB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.3624, allocations: 67.33 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.3624, allocations: 19.98 kB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3625, allocations: 23.42 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3625, allocations: 0 / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3927, allocations: 2.755 MB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 2.625 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.44124343106523]