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.001698/0.001698, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002157/0.002157, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.789 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.845/2.845, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_11_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.002355/0.002355, allocations: 67.03 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3586, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002987/0.3616, allocations: 1.561 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.363, allocations: 0.7731 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.3631, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.3631, allocations: 7.922 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.3632, allocations: 15.86 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3637, allocations: 103.6 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3638, allocations: 55.78 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3639, allocations: 8 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.364, allocations: 35.84 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.3641, allocations: 23.86 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3641, allocations: 4 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.3643, allocations: 71.92 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.3643, allocations: 11.94 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3643, allocations: 15.92 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3645, allocations: 109.3 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3645, allocations: 4 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3645, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3645, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 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.0004842/0.365, allocations: 301.9 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3651, allocations: 16.02 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.3651, allocations: 30.75 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.3656, allocations: 44.89 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3658, allocations: 142.2 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3658, allocations: 384 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3658, allocations: 8.375 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3661, allocations: 77.75 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3661, allocations: 4 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3661, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3661, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.3664, allocations: 71.94 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.3669, allocations: 283.8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3671, allocations: 66.55 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3672, allocations: 44.92 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3673, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3673, allocations: 34.5 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3673, allocations: 0 / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/0.3678, allocations: 141.5 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3679, allocations: 59.41 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.368, allocations: 120.2 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.368, allocations: 25.7 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3681, allocations: 92.12 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3681, allocations: 11.84 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3682, allocations: 25.7 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3683, allocations: 322.8 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3684, allocations: 27.98 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3685, allocations: 39.97 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.3688, allocations: 64.81 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3688, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.3691, allocations: 109.8 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3691, allocations: 8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3691, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3691, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3693, allocations: 16.02 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3693, allocations: 4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.3694, allocations: 7.984 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3694, allocations: 3.984 kB / 1.287 GB, free: 7.305 MB / 0.9825 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.391e-05/0.3695, allocations: 126.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.3695, allocations: 7.953 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.3695, allocations: 4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3696, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3696, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3696, allocations: 3.984 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.3698, allocations: 152.7 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3699, allocations: 15.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3699, allocations: 4 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3699, allocations: 7.984 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3699, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3699, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.3703, allocations: 207.3 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3703, allocations: 7.953 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3703, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3704, allocations: 8 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3705, allocations: 7.984 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3705, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.3706, allocations: 95.27 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3706, allocations: 3.938 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002732/0.3708, allocations: 31.92 kB / 1.288 GB, free: 6.559 MB / 0.9825 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.0009002/0.3717, allocations: 0.7629 MB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.3721, allocations: 67.94 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3721, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3722, allocations: 39.97 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3725, allocations: 5.547 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3745, allocations: 1.487 MB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.3746, allocations: 71.33 kB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.3747, allocations: 16.31 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.3747, allocations: 27.41 kB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3747, allocations: 0 / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4051, allocations: 2.748 MB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 8.359 kB / 1.293 GB, free: 1.348 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.535141719970852]