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.0007662/0.0007662, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007918/0.0007918, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8795/0.8795, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.237e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002258/0.00228, allocations: 1.588 MB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.003095, allocations: 0.6077 MB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.003148, allocations: 7.875 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.003191, allocations: 7.922 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.003271, allocations: 15.86 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.00359, allocations: 55.86 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.003685, allocations: 47.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.003773, allocations: 19.92 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.003906, allocations: 43.83 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.00395, allocations: 15.98 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.003966, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.004074, allocations: 47.94 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.004132, allocations: 23.91 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.004157, allocations: 19.92 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.004315, allocations: 99.67 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004318, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004319, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004323, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 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.000467/0.00479, allocations: 345.7 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.004834, allocations: 8.75 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.004863, allocations: 30.75 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.005394, allocations: 336.2 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.005585, allocations: 160.4 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/0.005647, allocations: 63.94 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.00566, allocations: 8.375 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.005936, allocations: 213.5 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.005942, allocations: 0 / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005953, allocations: 0 / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.005958, allocations: 0 / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.006262, allocations: 291.6 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.006835, allocations: 0.5264 MB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.00715, allocations: 286.2 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.007301, allocations: 148.8 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.007316, allocations: 0 / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.007335, allocations: 30.56 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.007336, allocations: 3.938 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0005772/0.007913, allocations: 469.1 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.007941, allocations: 51.41 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008053, allocations: 166.3 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.008068, allocations: 25.7 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.008115, allocations: 104.1 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.008134, allocations: 7.953 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.008178, allocations: 37.67 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.008253, allocations: 330.8 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.008405, allocations: 143.8 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.008546, allocations: 139.8 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.008817, allocations: 248.6 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008819, allocations: 0 / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003315/0.00915, allocations: 325.2 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.009164, allocations: 4 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009168, allocations: 4.031 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.009179, allocations: 0 / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.009304, allocations: 83.75 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009309, allocations: 0 / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.009384, allocations: 51.92 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.009433, allocations: 79.77 kB / 1.007 GB, free: 6.043 MB / 0.9636 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 6.6e-05/0.009499, allocations: 117.8 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.009519, allocations: 7.953 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.009539, allocations: 15.95 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009541, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.009545, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.009547, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.009718, allocations: 220.5 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009719, allocations: 4 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.009813, allocations: 79.81 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009815, allocations: 0 / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.009828, allocations: 11.98 kB / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.00983, allocations: 0 / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009831, allocations: 4 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.01019, allocations: 419 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.0102, allocations: 11.94 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.01022, allocations: 4.031 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.01031, allocations: 55.86 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.01033, allocations: 3.984 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.01037, allocations: 67.91 kB / 1.008 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.891e-05/0.01044, allocations: 136 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01044, allocations: 0 / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001735/0.01062, allocations: 23.94 kB / 1.008 GB, free: 4.816 MB / 0.9636 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.0005916/0.01121, allocations: 0.9386 MB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.01156, allocations: 295.6 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01156, allocations: 0 / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.01172, allocations: 147.8 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01189, allocations: 14.14 kB / 1.009 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.01383, allocations: 2.496 MB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01389, allocations: 87.45 kB / 1.012 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.01403, allocations: 191.6 kB / 1.012 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.01411, allocations: 48.45 kB / 1.012 GB, free: 492 kB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01411, allocations: 0 / 1.012 GB, free: 492 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.03161, allocations: 3.383 MB / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/6.578, allocations: 4.719 kB / 1.015 GB, free: 13.23 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.61740131676197]