Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001624/0.001624, allocations: 105.4 kB / 16.45 MB, free: 6.5 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.001968/0.001968, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_12_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.002084/0.002084, allocations: 74 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002945/0.3421, allocations: 1.607 MB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3433, allocations: 0.6506 MB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.3434, allocations: 0 / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.3434, allocations: 3.938 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.3435, allocations: 15.86 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3439, allocations: 63.81 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.344, allocations: 51.84 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3441, allocations: 11.98 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3442, allocations: 31.84 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.3443, allocations: 19.92 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3443, allocations: 4 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3445, allocations: 59.95 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3446, allocations: 31.83 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.3446, allocations: 31.75 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.3448, allocations: 95.91 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3449, allocations: 0 / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3449, allocations: 4 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3449, allocations: 0 / 1.323 GB, free: 0.6094 MB / 1.014 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.0006501/0.3455, allocations: 402.8 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3456, allocations: 11.98 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.3456, allocations: 38.75 kB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3467, allocations: 220.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.347, allocations: 208.8 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.347, allocations: 46 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.347, allocations: 7.938 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.3475, allocations: 165.5 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.3475, allocations: 3.938 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3475, allocations: 4 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3475, allocations: 0 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.3482, allocations: 235.8 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009852/0.3491, allocations: 0.5116 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.3498, allocations: 242.3 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.3501, allocations: 120.8 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3501, allocations: 0 / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3501, allocations: 30.56 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3501, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.00106/0.3512, allocations: 377.3 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3512, allocations: 59.34 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3514, allocations: 161.8 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3514, allocations: 25.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3515, allocations: 108.1 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3515, allocations: 4.031 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3516, allocations: 25.69 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3517, allocations: 318.8 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3521, allocations: 111.9 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.3524, allocations: 115.9 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.3529, allocations: 200.7 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3529, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007136/0.3537, allocations: 261.3 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3537, allocations: 4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3537, allocations: 4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.3537, allocations: 4 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.354, allocations: 47.84 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.354, allocations: 3.938 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3541, allocations: 35.97 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.3542, allocations: 7.984 kB / 1.327 GB, free: 12.32 MB / 1.029 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.000131/0.3543, allocations: 113.8 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3543, allocations: 11.91 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.3544, allocations: 11.86 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3544, allocations: 0 / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3544, allocations: 7.938 kB / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3544, allocations: 0 / 1.328 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3547, allocations: 253.6 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3547, allocations: 0 / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.3549, allocations: 39.92 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3549, allocations: 3.984 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3549, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3549, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3549, allocations: 7.875 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.3557, allocations: 355.2 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.3557, allocations: 89.06 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3558, allocations: 0 / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.356, allocations: 35.92 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.356, allocations: 11.97 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.356, allocations: 3.984 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000111/0.3561, allocations: 125 kB / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3561, allocations: 0 / 1.328 GB, free: 11.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002826/0.3564, allocations: 19.94 kB / 1.328 GB, free: 11.15 MB / 1.029 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.001125/0.3575, allocations: 0.8879 MB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.3582, allocations: 235.8 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3582, allocations: 4.062 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.3586, allocations: 115.9 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3588, allocations: 17.56 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.3625, allocations: 2.353 MB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3629, allocations: 0.7002 MB / 1.333 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.875e-05/0.363, allocations: 24 kB / 1.333 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.3631, allocations: 35.41 kB / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3631, allocations: 0 / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3909, allocations: 2.682 MB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.473, allocations: 4.062 kB / 1.335 GB, free: 4.07 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv. Warning: Get data of variable lmtd.y from file Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.96387569908984]