Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001289/0.001289, 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.001987/0.001987, 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.423/1.423, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.051/3.051, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_12_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.003381/0.003381, allocations: 69.98 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3349, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003738/0.3386, allocations: 1.548 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3402, allocations: 0.7714 MB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.3402, allocations: 0 / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.3403, allocations: 3.938 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.3404, allocations: 27.78 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3408, allocations: 95.7 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.341, allocations: 59.67 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3411, allocations: 11.98 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3412, allocations: 35.91 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.3413, allocations: 23.86 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3414, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3415, allocations: 67.94 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.3416, allocations: 7.984 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.3416, allocations: 19.88 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3418, allocations: 111.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3419, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3419, allocations: 3.984 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3419, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 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.0006033/0.3425, allocations: 301.9 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3425, allocations: 8.031 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.3426, allocations: 30.75 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.3431, allocations: 56.83 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3433, allocations: 136.6 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3433, allocations: 384 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3434, allocations: 8.375 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3436, allocations: 77.75 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3436, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3436, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3437, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.3439, allocations: 63.89 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.3444, allocations: 283.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3447, allocations: 74.53 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3448, allocations: 36.92 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3448, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3448, allocations: 38.44 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3448, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000512/0.3454, allocations: 133.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3454, allocations: 63.39 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3455, allocations: 117.8 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3455, allocations: 25.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.3456, allocations: 92.12 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.3456, allocations: 15.84 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.3457, allocations: 21.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3458, allocations: 326.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.346, allocations: 27.97 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3461, allocations: 39.95 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.3463, allocations: 68.75 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3463, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003132/0.3466, allocations: 105.6 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3466, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3466, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3467, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3468, allocations: 11.98 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3468, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.3469, allocations: 11.98 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.3469, allocations: 7.984 kB / 1.33 GB, free: 13.26 MB / 1.029 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.546e-05/0.347, allocations: 118.3 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.347, allocations: 3.938 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.3471, allocations: 8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3471, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3471, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3471, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3473, allocations: 160.6 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3473, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3474, allocations: 23.91 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3474, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3474, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.3474, allocations: 3.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3474, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.3478, allocations: 207.4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3478, allocations: 15.95 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3479, allocations: 3.984 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.348, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.348, allocations: 3.984 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.348, allocations: 7.938 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.209e-05/0.3481, allocations: 98.14 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3481, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002744/0.3484, allocations: 31.88 kB / 1.331 GB, free: 12.5 MB / 1.029 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.0007794/0.3491, allocations: 0.7552 MB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.3494, allocations: 79.86 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3494, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3496, allocations: 40.3 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3498, allocations: 10.03 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3518, allocations: 1.473 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.953e-05/0.3519, allocations: 63.34 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.352, allocations: 19.97 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.352, allocations: 23.42 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.352, allocations: 4 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3815, allocations: 2.747 MB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.07, allocations: 5.891 kB / 1.336 GB, free: 7.301 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.472807166166604]