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.001488/0.001488, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001642/0.001642, allocations: 213.9 kB / 22.25 MB, free: 4.859 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.029/3.029, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001895/0.001895, allocations: 70.3 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003085/0.3219, allocations: 1.552 MB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3233, allocations: 0.7646 MB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.3234, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.3234, allocations: 3.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.3235, allocations: 19.84 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3239, allocations: 107.6 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.324, allocations: 55.73 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3241, allocations: 11.98 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3243, allocations: 35.84 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.3243, allocations: 19.92 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3244, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3245, allocations: 67.94 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.3245, allocations: 11.92 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.3246, allocations: 23.88 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3248, allocations: 107.8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3248, allocations: 3.984 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3248, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3248, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 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.0004802/0.3252, allocations: 298 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3253, allocations: 12.03 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3253, allocations: 30.75 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.3257, allocations: 48.83 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.326, allocations: 138.3 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.326, allocations: 8.312 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.326, allocations: 384 / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3263, allocations: 85.75 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3263, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3263, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3263, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.3265, allocations: 63.95 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.327, allocations: 287.8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3273, allocations: 70.53 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3274, allocations: 40.92 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3274, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3275, allocations: 34.56 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3275, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005016/0.328, allocations: 137.7 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.328, allocations: 55.39 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3281, allocations: 120.1 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3282, allocations: 29.7 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.3282, allocations: 92.12 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3283, allocations: 11.89 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3283, allocations: 25.64 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3285, allocations: 314.8 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3286, allocations: 39.97 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3287, allocations: 35.95 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.329, allocations: 64.81 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.329, allocations: 0 / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003054/0.3293, allocations: 113.5 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3293, allocations: 4 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3293, allocations: 0 / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3293, allocations: 0 / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3294, allocations: 15.98 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3294, allocations: 0 / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.3295, allocations: 15.98 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3295, allocations: 3.984 kB / 1.368 GB, free: 8.992 MB / 1.061 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.0001069/0.3296, allocations: 117.8 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.3297, allocations: 7.953 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.3297, allocations: 8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3297, allocations: 4 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3297, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3297, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3299, allocations: 160.6 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3299, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.33, allocations: 19.97 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.33, allocations: 3.938 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3301, allocations: 4 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3301, allocations: 0 / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3301, allocations: 3.984 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3304, allocations: 207.4 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.3304, allocations: 3.953 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3305, allocations: 11.98 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3306, allocations: 8 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.3306, allocations: 3.984 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3306, allocations: 0 / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.3307, allocations: 95.27 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3307, allocations: 0 / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002627/0.3309, allocations: 35.81 kB / 1.369 GB, free: 8.23 MB / 1.061 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.0007241/0.3317, allocations: 0.7552 MB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.3319, allocations: 75.92 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3319, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.3321, allocations: 35.97 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3323, allocations: 12.42 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3342, allocations: 1.483 MB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.3343, allocations: 67.34 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.3344, allocations: 19.97 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.3344, allocations: 23.42 kB / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.3344, allocations: 0 / 1.371 GB, free: 5.641 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.3638, allocations: 2.753 MB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.95, allocations: 2.641 kB / 1.374 GB, free: 3.031 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.139727198984474]