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.001771/0.001771, allocations: 104 kB / 16.45 MB, free: 6.449 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.002117/0.002117, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.873/2.873, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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.002325/0.002325, allocations: 63.91 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8409/0.8432, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003097/0.8463, allocations: 1.559 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.8479, allocations: 0.843 MB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.848, allocations: 0 / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.848, allocations: 11.92 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.8481, allocations: 11.88 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.8486, allocations: 99.62 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.8488, allocations: 59.72 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.849, allocations: 8 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.8491, allocations: 31.91 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.8492, allocations: 35.84 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.8492, allocations: 4 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.8494, allocations: 63.95 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.8494, allocations: 15.91 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.8495, allocations: 19.88 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.8497, allocations: 109.5 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8498, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.996e-06/0.8498, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.8498, allocations: 3.938 kB / 1.281 GB, free: 10.53 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.0006664/0.8504, allocations: 395 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.8505, allocations: 8.031 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.8505, allocations: 30.75 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004967/0.851, allocations: 40.88 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.8513, allocations: 198 kB / 1.282 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.8513, allocations: 4.375 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.8513, allocations: 4.375 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.8516, allocations: 85.75 kB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8516, allocations: 0 / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8516, allocations: 0 / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.8516, allocations: 0 / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.8519, allocations: 75.88 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.8525, allocations: 308.8 kB / 1.282 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.8528, allocations: 70.53 kB / 1.282 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.8529, allocations: 44.92 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.8529, allocations: 0 / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.853, allocations: 30.56 kB / 1.282 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.853, allocations: 3.938 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005565/0.8535, allocations: 145.5 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.8536, allocations: 51.41 kB / 1.283 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.8537, allocations: 125.8 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8537, allocations: 25.7 kB / 1.283 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.8538, allocations: 88.14 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.8538, allocations: 15.89 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.8538, allocations: 17.7 kB / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.854, allocations: 330.8 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.8541, allocations: 31.97 kB / 1.283 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.8543, allocations: 31.97 kB / 1.283 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.8545, allocations: 68.75 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8545, allocations: 4 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.8549, allocations: 97.92 kB / 1.283 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8549, allocations: 4 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8549, allocations: 48 / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8549, allocations: 3.984 kB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8551, allocations: 19.97 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.8551, allocations: 4 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.8552, allocations: 11.94 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.8552, allocations: 4 kB / 1.283 GB, free: 7.969 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.0001016/0.8553, allocations: 113.8 kB / 1.283 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.8553, allocations: 4 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.8554, allocations: 15.89 kB / 1.283 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8554, allocations: 4 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8554, allocations: 0 / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8554, allocations: 3.938 kB / 1.283 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.8556, allocations: 197.6 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8556, allocations: 0 / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.8557, allocations: 15.97 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8557, allocations: 0 / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.8557, allocations: 4 kB / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8557, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8557, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.8561, allocations: 207.4 kB / 1.284 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.8562, allocations: 88.94 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.8562, allocations: 4 kB / 1.284 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8564, allocations: 7.984 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.8564, allocations: 8 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.8564, allocations: 3.984 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.8565, allocations: 96.89 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8565, allocations: 0 / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002991/0.8568, allocations: 31.88 kB / 1.284 GB, free: 7.074 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.0008359/0.8576, allocations: 0.7635 MB / 1.285 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.8579, allocations: 67.94 kB / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8579, allocations: 0 / 1.285 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8581, allocations: 51.89 kB / 1.285 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.8584, allocations: 4 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.8604, allocations: 1.471 MB / 1.286 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8608, allocations: 0.6846 MB / 1.287 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.8609, allocations: 20.3 kB / 1.287 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.8609, allocations: 23.42 kB / 1.287 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.8609, allocations: 0 / 1.287 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.8902, allocations: 2.229 MB / 1.289 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.024, allocations: 5.938 kB / 1.289 GB, free: 1.73 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.35483367787674]