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.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.001739/0.001739, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001953/0.001953, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7679 GB, free: 9.504 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="cs",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.00321/0.00321, allocations: 67.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.016, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003114/1.019, allocations: 1.569 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001538/1.02, allocations: 0.84 MB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/1.02, allocations: 1.156 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/1.02, allocations: 5.109 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/1.02, allocations: 19.47 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/1.021, allocations: 107.8 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/1.021, allocations: 57.84 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/1.021, allocations: 5.547 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/1.021, allocations: 33.98 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/1.021, allocations: 26.22 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/1.021, allocations: 3.781 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/1.022, allocations: 74.23 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/1.022, allocations: 11.98 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/1.022, allocations: 19.92 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/1.022, allocations: 117.9 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.022, allocations: 0 / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.022, allocations: 0.5312 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.022, allocations: 0 / 1.282 GB, free: 9.855 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.0005556/1.022, allocations: 382.4 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.022, allocations: 10.22 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.823e-05/1.022, allocations: 5.25 kB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/1.022, allocations: 36.03 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/1.023, allocations: 40.98 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/1.023, allocations: 192.8 kB / 1.282 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/1.023, allocations: 5.375 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.023, allocations: 2.469 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/1.024, allocations: 82.23 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.024, allocations: 2.094 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.024, allocations: 4 kB / 1.283 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.024, allocations: 3.938 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/1.024, allocations: 61.84 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/1.024, allocations: 319.1 kB / 1.283 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/1.025, allocations: 66.75 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.025, allocations: 42.12 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/1.025, allocations: 5.234 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.025, allocations: 40.33 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/1.025, allocations: 0 / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005952/1.026, allocations: 136 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/1.026, allocations: 56.47 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.026, allocations: 127.5 kB / 1.283 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.026, allocations: 30.8 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/1.026, allocations: 88.83 kB / 1.283 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/1.026, allocations: 10.52 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/1.026, allocations: 21.39 kB / 1.283 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.026, allocations: 323.2 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.026, allocations: 31.56 kB / 1.284 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/1.026, allocations: 37.98 kB / 1.284 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/1.027, allocations: 68.75 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.027, allocations: 4 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00034/1.027, allocations: 97.72 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.027, allocations: 5.781 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.027, allocations: 0 / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.027, allocations: 1.281 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/1.027, allocations: 19.3 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.027, allocations: 5.984 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/1.027, allocations: 10.19 kB / 1.284 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/1.027, allocations: 4.5 kB / 1.284 GB, free: 7.926 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 9.49e-05/1.027, allocations: 115.8 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/1.027, allocations: 2.844 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/1.027, allocations: 13.19 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.027, allocations: 0.6562 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.027, allocations: 4 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.027, allocations: 1.406 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/1.028, allocations: 192.9 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.028, allocations: 0 / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.028, allocations: 15.98 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.028, allocations: 1.188 kB / 1.284 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/1.028, allocations: 7.141 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.028, allocations: 0 / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.028, allocations: 1.156 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/1.028, allocations: 204.8 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/1.028, allocations: 86.84 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/1.028, allocations: 1.922 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/1.028, allocations: 11.11 kB / 1.285 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/1.029, allocations: 10.41 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.029, allocations: 4.094 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.98e-05/1.029, allocations: 97.58 kB / 1.285 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.029, allocations: 1.25 kB / 1.285 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003212/1.029, allocations: 26.39 kB / 1.285 GB, free: 7.219 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.0008554/1.03, allocations: 0.7642 MB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003606/1.03, allocations: 76.41 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.03, allocations: 0 / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/1.03, allocations: 42.42 kB / 1.286 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/1.031, allocations: 4.328 kB / 1.286 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/1.033, allocations: 1.479 MB / 1.287 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.033, allocations: 0.6837 MB / 1.288 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.215e-05/1.033, allocations: 21.17 kB / 1.288 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/1.033, allocations: 23.95 kB / 1.288 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.033, allocations: 5.281 kB / 1.288 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/1.053, allocations: 2.254 MB / 1.29 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/9.426, allocations: 10.45 kB / 1.29 GB, free: 4.016 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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: 15.91665218694834]