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.001274/0.001274, allocations: 119 kB / 17.17 MB, free: 5.906 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.001314/0.001314, allocations: 211 kB / 20.13 MB, free: 2.969 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 / 253.5 MB, free: 15.09 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 2.903/2.903, allocations: 0.5003 GB / 0.8026 GB, free: 6.684 MB / 0.6387 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_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.002042/0.002042, allocations: 67.89 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.855, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002547/0.8576, allocations: 1.565 MB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.8588, allocations: 0.842 MB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.8588, allocations: 3.938 kB / 1.342 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.8588, allocations: 5.016 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.8589, allocations: 16.27 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.8593, allocations: 102.9 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.8594, allocations: 53.19 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.8595, allocations: 9.703 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.8597, allocations: 41.88 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.8597, allocations: 21.64 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.8597, allocations: 3.562 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.8599, allocations: 75.27 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.8599, allocations: 15.73 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.8599, allocations: 21.11 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.8601, allocations: 105.6 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8601, allocations: 0 / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8601, allocations: 0 / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8601, allocations: 0.7969 kB / 1.343 GB, free: 14.36 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.000387/0.8605, allocations: 385.5 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.8606, allocations: 11.42 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.893e-05/0.8606, allocations: 4.188 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.933e-05/0.8606, allocations: 36.98 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.861, allocations: 42.98 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.8612, allocations: 190.8 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.8612, allocations: 1.938 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.8613, allocations: 1.844 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.8615, allocations: 90.17 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8615, allocations: 0.7969 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8615, allocations: 0 / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8615, allocations: 1.125 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.8618, allocations: 65.55 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.8623, allocations: 331 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.8625, allocations: 69.39 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.8627, allocations: 46.47 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.8627, allocations: 6.062 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.8627, allocations: 34.5 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8627, allocations: 0 / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.8632, allocations: 136.8 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.8632, allocations: 56.72 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.8633, allocations: 123.8 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.8633, allocations: 27.08 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.8634, allocations: 95.58 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.8634, allocations: 7.406 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.8634, allocations: 21.88 kB / 1.345 GB, free: 12.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.8635, allocations: 318.1 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.8636, allocations: 37.23 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.8637, allocations: 31.67 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.864, allocations: 62.33 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.864, allocations: 4 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000308/0.8643, allocations: 105 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8643, allocations: 7.531 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8643, allocations: 4.453 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8643, allocations: 1.375 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.8645, allocations: 15.67 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8645, allocations: 4.656 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.8646, allocations: 11.94 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.8646, allocations: 7.344 kB / 1.345 GB, free: 12.41 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 6.511e-05/0.8647, allocations: 113 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.8647, allocations: 6.703 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.8647, allocations: 11.97 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8647, allocations: 0 / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8647, allocations: 6.172 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8647, allocations: 0 / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.8649, allocations: 192 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8649, allocations: 1.375 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.865, allocations: 15.75 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.865, allocations: 0.6094 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.8651, allocations: 4.422 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8651, allocations: 3.938 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8651, allocations: 0 / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.8654, allocations: 213.8 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.8654, allocations: 84.34 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8655, allocations: 0 / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.8656, allocations: 7.688 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.8656, allocations: 7.109 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8656, allocations: 7.188 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.485e-05/0.8657, allocations: 97.77 kB / 1.346 GB, free: 11.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8657, allocations: 5.25 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000302/0.866, allocations: 26.09 kB / 1.346 GB, free: 11.7 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.0006193/0.8666, allocations: 0.7629 MB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.8669, allocations: 68.42 kB / 1.347 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8669, allocations: 0 / 1.347 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.8671, allocations: 42.2 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.8674, allocations: 6.203 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.869, allocations: 1.472 MB / 1.348 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.8691, allocations: 0.6846 MB / 1.349 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.29e-05/0.8692, allocations: 17.38 kB / 1.349 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.8693, allocations: 24.41 kB / 1.349 GB, free: 8.984 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.8693, allocations: 0 / 1.349 GB, free: 8.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.8876, allocations: 2.256 MB / 1.351 GB, free: 8.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.974, allocations: 9.688 kB / 1.351 GB, free: 8.531 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 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.mat","/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: 15.173438075988088]