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.0008789/0.0008789, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008272/0.0008272, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8817/0.8817, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 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 1.75/1.75, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.279e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002036/0.002059, allocations: 1.537 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.00301, allocations: 0.7758 MB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.003067, allocations: 3.938 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.003098, allocations: 3.938 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.003166, allocations: 23.8 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.003548, allocations: 105.8 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003653, allocations: 59.72 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.003748, allocations: 7.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.003895, allocations: 43.89 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.003953, allocations: 19.92 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003969, allocations: 4 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.004094, allocations: 67.94 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.004105, allocations: 7.984 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.004128, allocations: 19.92 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004289, allocations: 123.6 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004291, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004292, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004297, allocations: 0 / 1.002 GB, free: 10.7 MB / 0.9636 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.0003484/0.004645, allocations: 309.9 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.004685, allocations: 8.75 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.004714, allocations: 42.73 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.004983, allocations: 36.89 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.005167, allocations: 141.6 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.005175, allocations: 384 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005186, allocations: 4.375 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.005359, allocations: 90.17 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005366, allocations: 192 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005379, allocations: 8.125 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.005382, allocations: 0 / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.005526, allocations: 63.94 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.006016, allocations: 275.9 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.006168, allocations: 74.48 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.006242, allocations: 40.92 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.00626, allocations: 0 / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.006277, allocations: 30.56 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006278, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003156/0.006593, allocations: 149.5 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006622, allocations: 55.34 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.00669, allocations: 117.8 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.0067, allocations: 25.7 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.006741, allocations: 96.11 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.006761, allocations: 15.84 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.006795, allocations: 21.7 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.006868, allocations: 322.8 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.006942, allocations: 31.92 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.007008, allocations: 35.97 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.00714, allocations: 60.81 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007142, allocations: 7.938 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001706/0.007312, allocations: 105.6 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007325, allocations: 8 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.00733, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.00734, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.00742, allocations: 15.97 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007425, allocations: 4 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.007464, allocations: 8 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.007475, allocations: 7.969 kB / 1.005 GB, free: 8.336 MB / 0.9636 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.822e-05/0.007533, allocations: 113.8 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.007551, allocations: 7.891 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.00759, allocations: 12 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007592, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007596, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007599, allocations: 8 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.007727, allocations: 148.6 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007729, allocations: 3.984 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.007779, allocations: 19.92 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.00778, allocations: 336 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.007789, allocations: 3.984 kB / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.00779, allocations: 0 / 1.005 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007791, allocations: 4 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.007993, allocations: 207.4 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.008003, allocations: 11.94 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.008015, allocations: 4 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.008066, allocations: 7.938 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.008098, allocations: 7.984 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.008103, allocations: 0 / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.00814, allocations: 97.64 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.00814, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001905/0.008331, allocations: 35.86 kB / 1.005 GB, free: 7.582 MB / 0.9636 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.0004512/0.008782, allocations: 0.7617 MB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.00898, allocations: 67.94 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.008983, allocations: 8 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.009055, allocations: 39.91 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.009251, allocations: 4 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.01038, allocations: 1.462 MB / 1.007 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.309e-05/0.01042, allocations: 75.52 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.26e-05/0.01047, allocations: 19.98 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.01052, allocations: 24.48 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.9e-07/0.01052, allocations: 0 / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.0286, allocations: 2.89 MB / 1.01 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.567, allocations: 10.25 kB / 1.01 GB, free: 2.238 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.596530569717288]