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.001751/0.001751, allocations: 113 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.002229/0.002229, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.02 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.768/2.768, allocations: 476.7 MB / 0.7707 GB, free: 4.246 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.002047/0.002047, allocations: 70.81 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003525/0.3538, allocations: 1.575 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3555, allocations: 0.8392 MB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.3556, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.3556, allocations: 3.938 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3558, allocations: 15.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3563, allocations: 108.3 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.3565, allocations: 67.64 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3566, allocations: 8 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3567, allocations: 23.92 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.3568, allocations: 31.91 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3568, allocations: 0 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.357, allocations: 71.94 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.3571, allocations: 7.938 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3571, allocations: 27.86 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.3573, allocations: 107.1 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3573, allocations: 7.938 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3573, allocations: 0 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3573, allocations: 0 / 1.286 GB, free: 8.859 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.0005391/0.3579, allocations: 301.9 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3579, allocations: 15.97 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.358, allocations: 34.75 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.3585, allocations: 48.83 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3588, allocations: 134.4 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3588, allocations: 384 / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3588, allocations: 8.375 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3591, allocations: 85.75 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3591, allocations: 3.984 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3591, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3591, allocations: 4 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3594, allocations: 63.89 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.36, allocations: 295.8 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.3603, allocations: 70.53 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3604, allocations: 36.94 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3604, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3605, allocations: 42.48 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3605, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005436/0.361, allocations: 133.6 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3611, allocations: 51.41 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3612, allocations: 125.7 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3612, allocations: 25.7 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.3613, allocations: 96.14 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3613, allocations: 11.84 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.3614, allocations: 21.7 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3615, allocations: 322.8 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3616, allocations: 31.97 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3618, allocations: 31.98 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.362, allocations: 68.75 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.362, allocations: 3.984 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003119/0.3623, allocations: 97.64 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3623, allocations: 8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3623, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3624, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3625, allocations: 19.97 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3625, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.3626, allocations: 11.95 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3626, allocations: 7.984 kB / 1.288 GB, free: 6.492 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.0001266/0.3628, allocations: 113.8 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3628, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.3629, allocations: 12 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3629, allocations: 3.938 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.3629, allocations: 3.984 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3629, allocations: 3.938 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.3632, allocations: 168.6 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3632, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3633, allocations: 11.98 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3633, allocations: 7.938 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3633, allocations: 11.98 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3633, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.3633, allocations: 4.328 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.3637, allocations: 207.4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.3638, allocations: 3.953 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3638, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3639, allocations: 7.984 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3639, allocations: 4 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.364, allocations: 3.984 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001018/0.3641, allocations: 103.2 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003312/0.3644, allocations: 27.88 kB / 1.289 GB, free: 5.73 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.0009483/0.3653, allocations: 0.7591 MB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.3657, allocations: 75.94 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3657, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3658, allocations: 39.91 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3661, allocations: 7.984 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3681, allocations: 1.472 MB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3684, allocations: 0.6846 MB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.3685, allocations: 19.98 kB / 1.292 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.3685, allocations: 23.42 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3685, allocations: 0 / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3985, allocations: 2.331 MB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.04, allocations: 3.484 kB / 1.294 GB, free: 344 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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: 17.99866527999984]