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.001552/0.001552, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001705/0.001705, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] 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 3.106/3.106, allocations: 0.49 GB / 0.7916 GB, free: 33.66 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.001989/0.001989, allocations: 74.61 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.285, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002706/0.2877, allocations: 1.562 MB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.289, allocations: 0.8297 MB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.289, allocations: 3.938 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.2891, allocations: 3.938 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.2891, allocations: 15.84 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2895, allocations: 103.6 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2896, allocations: 59.78 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.2897, allocations: 11.98 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2899, allocations: 31.86 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.2899, allocations: 27.86 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2899, allocations: 0 / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.2901, allocations: 75.92 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.2901, allocations: 7.938 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.2901, allocations: 27.86 kB / 1.324 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2903, allocations: 107.8 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2903, allocations: 0 / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2903, allocations: 7.938 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2903, allocations: 0 / 1.324 GB, free: 500 kB / 1.014 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.000476/0.2908, allocations: 383 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2908, allocations: 15.98 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.2909, allocations: 30.75 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.2914, allocations: 48.89 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2916, allocations: 196.2 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.2916, allocations: 384 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2916, allocations: 4.375 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.2919, allocations: 85.69 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2919, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2919, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2919, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.2922, allocations: 63.95 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.2927, allocations: 320.8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2929, allocations: 74.48 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2931, allocations: 36.92 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2931, allocations: 3.938 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.2931, allocations: 38.56 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2931, allocations: 0 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005519/0.2937, allocations: 141.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.2937, allocations: 51.41 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2938, allocations: 121.8 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2939, allocations: 25.7 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.2939, allocations: 92.12 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2939, allocations: 23.78 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.294, allocations: 17.7 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2941, allocations: 322.8 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2943, allocations: 31.98 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2944, allocations: 27.98 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2947, allocations: 69.09 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2947, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003327/0.295, allocations: 113.6 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.295, allocations: 4 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.295, allocations: 4 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.295, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2952, allocations: 23.91 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2952, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.2953, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2953, allocations: 3.984 kB / 1.326 GB, free: 13.92 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 9.362e-05/0.2954, allocations: 117.8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.2954, allocations: 8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.2955, allocations: 7.844 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2955, allocations: 0 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2955, allocations: 4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2955, allocations: 3.984 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.2957, allocations: 197.4 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2957, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2958, allocations: 15.98 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2958, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2958, allocations: 7.984 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2958, allocations: 4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2958, allocations: 7.922 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.2962, allocations: 203.4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2962, allocations: 85.06 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2963, allocations: 4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2964, allocations: 11.98 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.2964, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2964, allocations: 4 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.2965, allocations: 99.89 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2965, allocations: 0 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002669/0.2968, allocations: 27.92 kB / 1.327 GB, free: 13.02 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.0007708/0.2975, allocations: 0.763 MB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.2979, allocations: 79.88 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2979, allocations: 0 / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.298, allocations: 35.97 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2983, allocations: 8 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3003, allocations: 1.464 MB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3006, allocations: 0.6846 MB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.3007, allocations: 20.36 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.3008, allocations: 27.42 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.3008, allocations: 0 / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3261, allocations: 2.208 MB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.237, allocations: 10.39 kB / 1.332 GB, free: 7.699 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.584717585938051]