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.0008861/0.0008861, 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.00105/0.00105, allocations: 169.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.9875/0.9875, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.255e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002179/0.002201, allocations: 1.597 MB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.003099, allocations: 0.6155 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.003168, allocations: 0 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.003225, allocations: 11.92 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003338, allocations: 7.875 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.003724, allocations: 59.86 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003834, allocations: 55.77 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.003921, allocations: 8 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004033, allocations: 43.78 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.004083, allocations: 23.95 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.004098, allocations: 4 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.00421, allocations: 51.95 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.004262, allocations: 23.91 kB / 0.953 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.004294, allocations: 15.92 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004463, allocations: 107.7 kB / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004465, allocations: 0 / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004465, allocations: 0 / 0.9531 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004469, allocations: 7.938 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 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.0004644/0.004933, allocations: 341.6 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.00497, allocations: 12.02 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.005001, allocations: 30.75 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005399/0.005541, allocations: 328.2 kB / 0.9538 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005743, allocations: 164.4 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.005807, allocations: 63.95 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.005822, allocations: 8.359 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.006087, allocations: 205.5 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006094, allocations: 0 / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.006106, allocations: 7.984 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.006111, allocations: 0 / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.006425, allocations: 295.6 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.006995, allocations: 0.5146 MB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.007319, allocations: 290.2 kB / 0.9553 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.007474, allocations: 152.7 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.007488, allocations: 0 / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.007506, allocations: 30.56 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.007508, allocations: 0 / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0005965/0.008104, allocations: 461 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.008135, allocations: 59.47 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008264, allocations: 168.3 kB / 0.9561 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.00828, allocations: 25.7 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.008334, allocations: 112.1 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.008351, allocations: 3.953 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.008397, allocations: 41.67 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.00848, allocations: 326.8 kB / 0.9566 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.00863, allocations: 135.9 kB / 0.9567 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.008782, allocations: 139.8 kB / 0.9568 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.009056, allocations: 252.5 kB / 0.9571 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009058, allocations: 0 / 0.9571 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003511/0.009409, allocations: 329.2 kB / 0.9574 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.009423, allocations: 7.938 kB / 0.9574 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009428, allocations: 0 / 0.9574 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.009442, allocations: 4 kB / 0.9574 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.009571, allocations: 79.91 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.009578, allocations: 4 kB / 0.9575 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.009664, allocations: 55.86 kB / 0.9575 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.009724, allocations: 75.78 kB / 0.9576 GB, free: 11.96 MB / 0.9167 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 7.736e-05/0.009801, allocations: 117.8 kB / 0.9577 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.009821, allocations: 7.953 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.009846, allocations: 11.97 kB / 0.9577 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.009847, allocations: 3.938 kB / 0.9577 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.009853, allocations: 3.984 kB / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.009855, allocations: 0 / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01003, allocations: 216.5 kB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01004, allocations: 0 / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01014, allocations: 79.88 kB / 0.958 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01015, allocations: 3.938 kB / 0.958 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01016, allocations: 11.98 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01016, allocations: 0 / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01016, allocations: 0 / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.01057, allocations: 419.1 kB / 0.9584 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.01058, allocations: 15.89 kB / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.0106, allocations: 0 / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.01069, allocations: 59.89 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.01072, allocations: 0 / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.01076, allocations: 67.84 kB / 0.9586 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.01084, allocations: 132.5 kB / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 0.9587 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001727/0.01101, allocations: 19.94 kB / 0.9587 GB, free: 10.74 MB / 0.9167 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.0006766/0.01169, allocations: 0.9503 MB / 0.9597 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.01206, allocations: 291.6 kB / 0.9599 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01207, allocations: 0 / 0.9599 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01223, allocations: 151.8 kB / 0.9601 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.01239, allocations: 7.938 kB / 0.9601 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.01449, allocations: 2.489 MB / 0.9625 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01456, allocations: 75.61 kB / 0.9626 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.01474, allocations: 195.6 kB / 0.9628 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.01482, allocations: 48.45 kB / 0.9628 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of SimCode: time 9.81e-07/0.01482, allocations: 0 / 0.9628 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.0353, allocations: 3.405 MB / 0.9661 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.94, allocations: 14.19 kB / 0.9662 GB, free: 3.145 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.19445809815079]