Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001392/0.001392, allocations: 112.2 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.001408/0.001408, 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 71.88 kB / 1.059 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2618, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002608/0.2644, allocations: 1.551 MB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2655, allocations: 0.781 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.2656, allocations: 0 / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.2656, allocations: 3.938 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.2657, allocations: 19.84 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2661, allocations: 91.66 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.2662, allocations: 51.73 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.2663, allocations: 11.98 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.2663, allocations: 19.94 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.2664, allocations: 27.89 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2664, allocations: 4 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2666, allocations: 67.95 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2666, allocations: 11.88 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.2666, allocations: 27.91 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.2668, allocations: 99.86 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2668, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2668, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2668, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 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.0004797/0.2673, allocations: 387 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2673, allocations: 8.031 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2674, allocations: 34.75 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.2677, allocations: 24.91 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2678, allocations: 172.3 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2678, allocations: 384 / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.2678, allocations: 8.375 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2681, allocations: 77.75 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2681, allocations: 0 / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2681, allocations: 4 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2681, allocations: 8 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.2683, allocations: 63.88 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.2688, allocations: 320.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.2691, allocations: 74.53 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2692, allocations: 36.92 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2692, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2693, allocations: 34.5 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2693, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005019/0.2698, allocations: 141.7 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2698, allocations: 51.41 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2699, allocations: 121.8 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.2699, allocations: 25.7 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.27, allocations: 92.08 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.27, allocations: 11.95 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.27, allocations: 17.7 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2702, allocations: 322.8 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2703, allocations: 35.97 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.2704, allocations: 28.02 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2707, allocations: 72.75 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2707, allocations: 3.984 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003112/0.271, allocations: 101.6 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.271, allocations: 13.41 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.271, allocations: 0 / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.271, allocations: 0 / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2712, allocations: 19.91 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2712, allocations: 8 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.2712, allocations: 7.938 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2713, allocations: 3.984 kB / 1.22 GB, free: 10.59 MB / 0.9669 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 8.824e-05/0.2713, allocations: 124.6 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.2714, allocations: 7.953 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.2714, allocations: 11.89 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2714, allocations: 0 / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2714, allocations: 3.984 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2714, allocations: 0 / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.2716, allocations: 197.4 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2716, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2717, allocations: 11.98 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2717, allocations: 8 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2718, allocations: 3.984 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2718, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2718, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2721, allocations: 203.4 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2722, allocations: 81.11 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2722, allocations: 0 / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2723, allocations: 7.984 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.2723, allocations: 11.94 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.2723, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.2724, allocations: 95.27 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2724, allocations: 0 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000247/0.2726, allocations: 31.86 kB / 1.221 GB, free: 9.711 MB / 0.9669 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.0007083/0.2733, allocations: 0.763 MB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.2737, allocations: 79.88 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2737, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2738, allocations: 40.23 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.2741, allocations: 4 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.2746, allocations: 212.5 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2749, allocations: 0.6846 MB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.825e-05/0.2749, allocations: 20.06 kB / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.275, allocations: 23.42 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.275, allocations: 0 / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2979, allocations: 2.13 MB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.268, allocations: 3.344 kB / 1.225 GB, free: 5.754 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.512685128000157]