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.002006/0.002006, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002414/0.002414, allocations: 215.4 kB / 22.25 MB, free: 5.125 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.98 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.763/2.763, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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.001997/0.001997, allocations: 68.3 kB / 1.117 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 170 MB / 1.283 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002797/0.3459, allocations: 1.617 MB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3471, allocations: 0.6559 MB / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.3472, allocations: 0 / 1.286 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.977e-05/0.3472, allocations: 7.922 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.3473, allocations: 15.92 kB / 1.286 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3477, allocations: 63.8 kB / 1.286 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3478, allocations: 47.86 kB / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3479, allocations: 11.98 kB / 1.286 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.348, allocations: 35.78 kB / 1.286 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.3481, allocations: 23.92 kB / 1.286 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3481, allocations: 4 kB / 1.286 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3483, allocations: 55.94 kB / 1.286 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.3483, allocations: 23.92 kB / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.3484, allocations: 31.8 kB / 1.286 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3486, allocations: 107.8 kB / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3486, allocations: 0 / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3486, allocations: 0 / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3486, allocations: 0 / 1.286 GB, free: 1.039 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.0006242/0.3492, allocations: 317.8 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3493, allocations: 15.97 kB / 1.286 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3493, allocations: 38.73 kB / 1.286 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3503, allocations: 216.5 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3506, allocations: 146.9 kB / 1.287 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.3507, allocations: 75.62 kB / 1.287 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3507, allocations: 8 kB / 1.287 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.3512, allocations: 169.5 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3512, allocations: 0 / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3512, allocations: 4 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3512, allocations: 0 / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.3518, allocations: 247.7 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.3528, allocations: 490.9 kB / 1.288 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.3534, allocations: 238.3 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.3537, allocations: 116.8 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3537, allocations: 0 / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3537, allocations: 38.5 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3537, allocations: 0 / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.001028/0.3547, allocations: 377.3 kB / 1.288 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3548, allocations: 55.34 kB / 1.288 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.355, allocations: 168.9 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.355, allocations: 25.7 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.355, allocations: 100.1 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3551, allocations: 7.938 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.3551, allocations: 25.7 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3553, allocations: 318.8 kB / 1.289 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.3555, allocations: 115.9 kB / 1.289 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.3558, allocations: 123.8 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.3563, allocations: 196.7 kB / 1.289 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3563, allocations: 0 / 1.289 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006297/0.357, allocations: 257.4 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.357, allocations: 10.17 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.357, allocations: 0 / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.357, allocations: 0 / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3572, allocations: 39.92 kB / 1.29 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3573, allocations: 7.938 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3574, allocations: 35.97 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3574, allocations: 3.984 kB / 1.29 GB, free: 12.93 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 0.0001047/0.3575, allocations: 125.8 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3576, allocations: 7.953 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3576, allocations: 7.969 kB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3576, allocations: 3.938 kB / 1.29 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3576, allocations: 7.938 kB / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3576, allocations: 0 / 1.29 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.3579, allocations: 228.6 kB / 1.29 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3579, allocations: 0 / 1.29 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3581, allocations: 43.91 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3581, allocations: 3.938 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3581, allocations: 4 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3581, allocations: 3.984 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3582, allocations: 7.938 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.3588, allocations: 343.3 kB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.3589, allocations: 15.94 kB / 1.291 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3589, allocations: 0 / 1.291 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3591, allocations: 31.94 kB / 1.291 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3591, allocations: 3.969 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3591, allocations: 15.92 kB / 1.291 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000102/0.3592, allocations: 126.8 kB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3592, allocations: 0 / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002609/0.3595, allocations: 23.92 kB / 1.291 GB, free: 11.88 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.001015/0.3605, allocations: 0.8802 MB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.3612, allocations: 231.8 kB / 1.292 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3612, allocations: 4.062 kB / 1.292 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.3615, allocations: 119.8 kB / 1.292 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3618, allocations: 17.48 kB / 1.292 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.3652, allocations: 2.339 MB / 1.294 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3656, allocations: 0.7002 MB / 1.295 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.15e-05/0.3657, allocations: 27.75 kB / 1.295 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.3657, allocations: 31.41 kB / 1.295 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3657, allocations: 0 / 1.295 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.3947, allocations: 2.784 MB / 1.298 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.14, allocations: 10.36 kB / 1.298 GB, free: 4.746 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.837249322999924]