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.001592/0.001592, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002128/0.002128, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.031 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.91/2.91, allocations: 476.8 MB / 0.7707 GB, free: 4.289 MB / 0.6231 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="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.002147/0.002147, allocations: 66.23 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002918/0.3595, allocations: 1.573 MB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.361, allocations: 0.847 MB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.361, allocations: 3.938 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.3611, allocations: 7.922 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.3611, allocations: 7.875 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.3617, allocations: 111.6 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3618, allocations: 59.72 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3619, allocations: 8 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.362, allocations: 23.92 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.3621, allocations: 31.89 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3621, allocations: 4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.3623, allocations: 71.89 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3623, allocations: 11.92 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.3624, allocations: 27.86 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3626, allocations: 107.2 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3626, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3626, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.3626, allocations: 0 / 1.286 GB, free: 8.68 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.0005035/0.3631, allocations: 309.9 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3631, allocations: 12.03 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3632, allocations: 30.75 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004755/0.3637, allocations: 44.89 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3639, allocations: 138.4 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3639, allocations: 384 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3639, allocations: 8.375 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3642, allocations: 81.69 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3642, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3642, allocations: 11.98 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3642, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.3645, allocations: 63.94 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.365, allocations: 295.8 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3653, allocations: 70.53 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3654, allocations: 40.86 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3654, allocations: 4 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3655, allocations: 38.56 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3655, allocations: 3.938 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005241/0.366, allocations: 129.6 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.366, allocations: 55.41 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3661, allocations: 123.3 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3662, allocations: 29.7 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.3662, allocations: 92.14 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3663, allocations: 15.83 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.3663, allocations: 21.7 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3664, allocations: 318.8 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3666, allocations: 35.91 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3667, allocations: 35.97 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.367, allocations: 64.81 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.367, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.3673, allocations: 101.6 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3673, allocations: 4 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3673, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3673, allocations: 3.984 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3675, allocations: 15.98 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3675, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.3676, allocations: 15.92 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3676, allocations: 0 / 1.288 GB, free: 6.316 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 0.0001108/0.3677, allocations: 117.8 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.3677, allocations: 7.953 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.3678, allocations: 11.98 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3678, allocations: 4 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3678, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.3678, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3681, allocations: 168.6 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3681, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3682, allocations: 19.97 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3682, allocations: 3.938 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3682, allocations: 8 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3682, allocations: 4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3682, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.3686, allocations: 215.6 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.3686, allocations: 3.953 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3687, allocations: 0 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3688, allocations: 7.984 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3688, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3688, allocations: 3.984 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.611e-05/0.3689, allocations: 101.3 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3689, allocations: 0 / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002934/0.3692, allocations: 35.81 kB / 1.289 GB, free: 5.543 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.0008482/0.37, allocations: 0.7513 MB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.3704, allocations: 79.88 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3704, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3705, allocations: 39.95 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3708, allocations: 4 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3729, allocations: 1.472 MB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3732, allocations: 0.6923 MB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.017e-05/0.3733, allocations: 15.98 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3734, allocations: 27.41 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/0.3734, allocations: 0 / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.4032, allocations: 2.321 MB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 5.453 kB / 1.294 GB, free: 152 kB / 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.566944306949154]