Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7806, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002288/0.7829, allocations: 1.605 MB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000816/0.7838, allocations: 0.5973 MB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.7838, allocations: 0.875 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.7838, allocations: 9.984 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.7839, allocations: 6.953 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.7842, allocations: 56.03 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.7842, allocations: 46.28 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/0.7843, allocations: 10.86 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.7844, allocations: 32.3 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.7845, allocations: 25.22 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.7845, allocations: 3.062 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.7846, allocations: 54.56 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.7847, allocations: 23.19 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.7847, allocations: 36.8 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.7849, allocations: 95.19 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.7849, allocations: 0.9062 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7849, allocations: 0 / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7849, allocations: 1.156 kB / 1.274 GB, free: 6.023 MB / 0.9981 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.0004008/0.7853, allocations: 400 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.7853, allocations: 9.562 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.7853, allocations: 35.22 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/0.7861, allocations: 206.9 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.7862, allocations: 195.3 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.7863, allocations: 35.78 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.7863, allocations: 2.812 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.7867, allocations: 178.9 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7867, allocations: 0 / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.7867, allocations: 0.8438 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.7867, allocations: 0.9062 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.7873, allocations: 234.4 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.788, allocations: 0.5179 MB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.7885, allocations: 238.5 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.7888, allocations: 120.3 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.7888, allocations: 0.8438 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.7888, allocations: 35.53 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7888, allocations: 4 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000907/0.7897, allocations: 364.6 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.7897, allocations: 56.47 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.7899, allocations: 173.9 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.7899, allocations: 25.7 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.7899, allocations: 105 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.7899, allocations: 3.953 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.79, allocations: 24.59 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.79, allocations: 322.3 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.7903, allocations: 107.7 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.7905, allocations: 115.1 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.791, allocations: 200 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.791, allocations: 0 / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005714/0.7916, allocations: 257.3 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7916, allocations: 6.812 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7916, allocations: 0.6875 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7916, allocations: 0.6875 kB / 1.278 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.7918, allocations: 51.23 kB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7918, allocations: 5.359 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.792, allocations: 37.48 kB / 1.278 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.792, allocations: 4.156 kB / 1.278 GB, free: 3.895 MB / 0.9981 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 5.952e-05/0.792, allocations: 125.6 kB / 1.278 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.7921, allocations: 13.22 kB / 1.278 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.7921, allocations: 12.03 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.7921, allocations: 1.641 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7921, allocations: 4.812 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7921, allocations: 0 / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.7923, allocations: 250.2 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7923, allocations: 0.7031 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.7925, allocations: 46.81 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7925, allocations: 1.031 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.7925, allocations: 3.719 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7925, allocations: 1.609 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7925, allocations: 3.938 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.7931, allocations: 350.3 kB / 1.279 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.7932, allocations: 85.92 kB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.7932, allocations: 1.516 kB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.7934, allocations: 41.39 kB / 1.279 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.7934, allocations: 6.562 kB / 1.279 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.7934, allocations: 3.875 kB / 1.279 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.756e-05/0.7935, allocations: 125.8 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7935, allocations: 0 / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000255/0.7937, allocations: 18.59 kB / 1.279 GB, free: 3.16 MB / 0.9981 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.0008186/0.7945, allocations: 0.8831 MB / 1.28 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000636/0.7952, allocations: 238.9 kB / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7952, allocations: 0 / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.7955, allocations: 121.1 kB / 1.28 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.7957, allocations: 11.22 kB / 1.28 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.7985, allocations: 2.338 MB / 1.282 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7988, allocations: 0.6955 MB / 1.283 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.011e-05/0.7989, allocations: 23.25 kB / 1.283 GB, free: 16.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.7989, allocations: 35.78 kB / 1.283 GB, free: 16.26 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.7989, allocations: 0 / 1.283 GB, free: 16.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.8236, allocations: 2.636 MB / 1.286 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.913, allocations: 10.92 kB / 1.286 GB, free: 15.81 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv. Warning: Get data of variable lmtd.y from file Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.261755507999624]