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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.91 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8021, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002378/0.8045, allocations: 1.554 MB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.8056, allocations: 0.7729 MB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.8056, allocations: 0 / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.8057, allocations: 6.281 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.8057, allocations: 19.03 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.8061, allocations: 94.47 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.8061, allocations: 55.47 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.8062, allocations: 5.688 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.8063, allocations: 30 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.8064, allocations: 27.69 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.8064, allocations: 7.25 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.8065, allocations: 58.34 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.8065, allocations: 12.84 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.8066, allocations: 29.45 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.8067, allocations: 96.83 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8067, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8067, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.8067, allocations: 1 kB / 1.274 GB, free: 5.906 MB / 0.9981 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.0003628/0.8071, allocations: 376 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8071, allocations: 13.69 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.8072, allocations: 37.7 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.8075, allocations: 25.48 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/0.8075, allocations: 175.9 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.8075, allocations: 1.406 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.8076, allocations: 2.688 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.8078, allocations: 85.89 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8078, allocations: 0 / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8078, allocations: 3.938 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.8078, allocations: 1 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.8081, allocations: 65.52 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.8084, allocations: 321.8 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.8087, allocations: 72.67 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.8088, allocations: 39.69 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.8088, allocations: 10.45 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.8088, allocations: 31.47 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8088, allocations: 0 / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005023/0.8093, allocations: 137.4 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.8094, allocations: 56.56 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.8094, allocations: 111.9 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.8094, allocations: 30.45 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.8095, allocations: 87.69 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.8095, allocations: 10.59 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.8095, allocations: 26.58 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.8096, allocations: 317.7 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.8097, allocations: 37.3 kB / 1.276 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.8099, allocations: 36.81 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.8101, allocations: 64.56 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8101, allocations: 3.938 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.8104, allocations: 105.7 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8104, allocations: 5.312 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8104, allocations: 0.7188 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8105, allocations: 336 / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.8106, allocations: 16.34 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8106, allocations: 6.656 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.648e-05/0.8107, allocations: 14.05 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.8107, allocations: 4.156 kB / 1.276 GB, free: 3.98 MB / 0.9981 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 5.681e-05/0.8108, allocations: 116.5 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.8108, allocations: 5.922 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.8108, allocations: 17.59 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8108, allocations: 0.9062 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8108, allocations: 0 / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8108, allocations: 0 / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.811, allocations: 191.4 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.811, allocations: 0.9062 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.8111, allocations: 15.89 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8111, allocations: 0.8906 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8111, allocations: 3.609 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8111, allocations: 0.9062 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8111, allocations: 0 / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.8114, allocations: 208.7 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.8115, allocations: 79.66 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.8115, allocations: 1.031 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.8116, allocations: 10.7 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.8116, allocations: 2.953 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.8116, allocations: 4.297 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.8117, allocations: 99.67 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8117, allocations: 0 / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002561/0.8119, allocations: 31.36 kB / 1.277 GB, free: 3.277 MB / 0.9981 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.0005448/0.8125, allocations: 0.7601 MB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.8128, allocations: 76.38 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8128, allocations: 0 / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.8129, allocations: 37.44 kB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.8132, allocations: 15.84 kB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.8137, allocations: 212.6 kB / 1.278 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.987e-05/0.8138, allocations: 0.6826 MB / 1.279 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.823e-05/0.8138, allocations: 21.16 kB / 1.279 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.8139, allocations: 20.41 kB / 1.279 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.8139, allocations: 0 / 1.279 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.8371, allocations: 2.134 MB / 1.281 GB, free: 17.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.701, allocations: 9.391 kB / 1.281 GB, free: 17.21 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.120815160997154]