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.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.001459/0.001459, allocations: 104.4 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.0017/0.0017, 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.785/2.785, allocations: 476.7 MB / 0.7672 GB, free: 5.242 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.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: 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.002039/0.002039, allocations: 75.88 kB / 1.112 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8845/0.8866, 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.QStar): time 0.002927/0.8895, allocations: 1.596 MB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.8907, allocations: 0.6562 MB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.8907, allocations: 0 / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.8907, allocations: 7.922 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.8908, allocations: 7.938 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.8911, allocations: 63.8 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.8912, allocations: 43.86 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.8913, allocations: 19.98 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.8914, allocations: 39.78 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.8915, allocations: 15.92 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.8915, allocations: 4 kB / 1.281 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.8917, allocations: 55.94 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.8917, allocations: 23.92 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.8918, allocations: 35.72 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.892, allocations: 101.4 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.892, allocations: 4 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.892, allocations: 0 / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.892, allocations: 3.938 kB / 1.281 GB, free: 10.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005794/0.8926, allocations: 398.9 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.8926, allocations: 12.03 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.8926, allocations: 30.75 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.8936, allocations: 220.5 kB / 1.282 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.8939, allocations: 212.7 kB / 1.282 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.894, allocations: 41.94 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.894, allocations: 4 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.8944, allocations: 173.5 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8944, allocations: 4 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.8944, allocations: 4 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8944, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.8951, allocations: 239.7 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.896, allocations: 0.504 MB / 1.283 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.8966, allocations: 234.3 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.897, allocations: 128.7 kB / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.897, allocations: 0 / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.897, allocations: 38.55 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.897, allocations: 0 / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001041/0.898, allocations: 365.2 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.8981, allocations: 59.47 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.8983, allocations: 170.2 kB / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8983, allocations: 25.7 kB / 1.284 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.8984, allocations: 104.1 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.8984, allocations: 3.953 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.8984, allocations: 21.7 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8986, allocations: 322.8 kB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.8989, allocations: 119.8 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.8992, allocations: 115.9 kB / 1.284 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.8998, allocations: 196.7 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8998, allocations: 4 kB / 1.284 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006645/0.9004, allocations: 249.4 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.9004, allocations: 12 kB / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.9004, allocations: 0 / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.9005, allocations: 0 / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.9007, allocations: 39.92 kB / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.9007, allocations: 3.938 kB / 1.285 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9009, allocations: 47.86 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.9009, allocations: 3.938 kB / 1.285 GB, free: 6.457 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 (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 9.998e-05/0.901, allocations: 127.7 kB / 1.285 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.901, allocations: 11.89 kB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.901, allocations: 11.88 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.901, allocations: 0 / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9011, allocations: 3.938 kB / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.9011, allocations: 0 / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.9014, allocations: 253.5 kB / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.9014, allocations: 0 / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.9016, allocations: 47.91 kB / 1.285 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9016, allocations: 0 / 1.285 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.9016, allocations: 3.984 kB / 1.285 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9016, allocations: 0 / 1.285 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9016, allocations: 7.938 kB / 1.285 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.9023, allocations: 351.3 kB / 1.286 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.9024, allocations: 85.05 kB / 1.286 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.9024, allocations: 4 kB / 1.286 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.9026, allocations: 35.94 kB / 1.286 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.9026, allocations: 7.875 kB / 1.286 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.9026, allocations: 7.984 kB / 1.286 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001229/0.9028, allocations: 137 kB / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9028, allocations: 0 / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002563/0.903, allocations: 16 kB / 1.286 GB, free: 5.273 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 (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.001084/0.9041, allocations: 0.8808 MB / 1.287 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.9048, allocations: 235.7 kB / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9048, allocations: 0 / 1.287 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.9051, allocations: 123.9 kB / 1.287 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.9053, allocations: 7.938 kB / 1.287 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.909, allocations: 2.358 MB / 1.289 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.9094, allocations: 0.6924 MB / 1.29 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.152e-05/0.9094, allocations: 27.73 kB / 1.29 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.9095, allocations: 27.42 kB / 1.29 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.9095, allocations: 0 / 1.29 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.9345, allocations: 2.692 MB / 1.293 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/9.145, allocations: 6.906 kB / 1.293 GB, free: 14.2 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.424388699000701]