Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.001229/0.001229, 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.00136/0.00136, allocations: 212.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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.992/2.992, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",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.002018/0.002018, allocations: 71.2 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002765/0.3215, allocations: 1.598 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3227, allocations: 0.6089 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.3227, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.3228, allocations: 3.938 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.3228, allocations: 19.86 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3231, allocations: 47.88 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3232, allocations: 59.77 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.3233, allocations: 12.28 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3234, allocations: 31.86 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.3235, allocations: 27.89 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3235, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3236, allocations: 47.95 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/0.3237, allocations: 23.92 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3237, allocations: 27.78 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.3239, allocations: 91.64 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3239, allocations: 4 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3239, allocations: 7.875 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.3239, allocations: 4 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005223/0.3244, allocations: 317.8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3244, allocations: 12.03 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.3245, allocations: 42.67 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/0.3254, allocations: 216.5 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3256, allocations: 152 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/0.3257, allocations: 63.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3257, allocations: 8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.3261, allocations: 169.5 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3262, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3262, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3262, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.3267, allocations: 243.7 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.3276, allocations: 459.1 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.3281, allocations: 238.3 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.3284, allocations: 120.8 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3284, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3285, allocations: 38.48 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3285, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0009516/0.3294, allocations: 373.4 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3295, allocations: 55.34 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3296, allocations: 172.4 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3296, allocations: 29.7 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3297, allocations: 100.1 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3297, allocations: 7.891 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3298, allocations: 21.7 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3299, allocations: 322.8 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3302, allocations: 115.9 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.3305, allocations: 111.9 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.331, allocations: 208.6 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.331, allocations: 0 / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006054/0.3316, allocations: 257.3 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3316, allocations: 8 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3316, allocations: 4.031 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3316, allocations: 0 / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.3318, allocations: 39.92 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3318, allocations: 3.938 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.332, allocations: 43.92 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.332, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001072/0.3321, allocations: 121.8 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3322, allocations: 7.953 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.3322, allocations: 15.84 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3322, allocations: 0 / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3322, allocations: 3.938 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3322, allocations: 0 / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.3325, allocations: 208.7 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3325, allocations: 0 / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.3327, allocations: 47.91 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3327, allocations: 0 / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.3327, allocations: 7.984 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3327, allocations: 0 / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3327, allocations: 3.938 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.3334, allocations: 351.2 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.3334, allocations: 11.91 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3334, allocations: 0 / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.3336, allocations: 35.97 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.3337, allocations: 15.92 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3337, allocations: 0 / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001236/0.3338, allocations: 136.7 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002388/0.3341, allocations: 16 kB / 1.371 GB, free: 6.383 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0009948/0.335, allocations: 0.8764 MB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000615/0.3357, allocations: 235.8 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3357, allocations: 3.938 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.336, allocations: 127.9 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3362, allocations: 17.39 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.3395, allocations: 2.342 MB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.3396, allocations: 83.59 kB / 1.374 GB, free: 2.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.314e-05/0.3397, allocations: 20 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.3397, allocations: 31.41 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/0.3397, allocations: 0 / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3675, allocations: 3.251 MB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.06, allocations: 11.08 kB / 1.377 GB, free: 15.4 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lmtd.y in file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv. Warning: Get data of variable lmtd.y from file Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.230246328748763]