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.001258/0.001258, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001406/0.001406, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.777 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.057/3.057, allocations: 0.49 GB / 0.7951 GB, free: 35.4 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.002099/0.002099, allocations: 67.3 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00282/0.3096, allocations: 1.611 MB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3107, allocations: 0.6118 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.3108, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.396e-05/0.3108, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.3109, allocations: 11.88 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3112, allocations: 59.86 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3114, allocations: 55.77 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.3114, allocations: 8.281 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3116, allocations: 39.86 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.3116, allocations: 27.83 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3116, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3118, allocations: 59.95 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.3118, allocations: 19.92 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.3119, allocations: 19.86 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3121, allocations: 111.5 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3121, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3121, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3121, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 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.0005504/0.3126, allocations: 329.8 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3127, allocations: 8.031 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.3127, allocations: 34.73 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.3136, allocations: 220.5 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3139, allocations: 155.6 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.3139, allocations: 63.7 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.3139, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.3144, allocations: 169.5 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3144, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3144, allocations: 7.938 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3144, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.315, allocations: 235.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3158, allocations: 486.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.3164, allocations: 238.3 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3167, allocations: 120.8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3167, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3167, allocations: 38.55 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3167, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0009713/0.3177, allocations: 361.3 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3177, allocations: 59.47 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3179, allocations: 177.5 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3179, allocations: 25.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.318, allocations: 104.1 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.318, allocations: 11.89 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.3181, allocations: 17.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3182, allocations: 322.8 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.3185, allocations: 115.9 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.3188, allocations: 111.9 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.3193, allocations: 196.7 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3193, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006132/0.3199, allocations: 257.4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3199, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3199, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3199, allocations: 8.031 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3201, allocations: 43.86 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3201, allocations: 3.938 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3203, allocations: 35.92 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3203, allocations: 8 kB / 1.332 GB, free: 10.74 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 8.898e-05/0.3204, allocations: 118.4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.3204, allocations: 11.91 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.3205, allocations: 15.95 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3205, allocations: 0 / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3205, allocations: 3.938 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3205, allocations: 7.984 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3207, allocations: 200.7 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3207, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3209, allocations: 55.8 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.3209, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3209, allocations: 3.984 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3209, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3209, allocations: 3.938 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.3216, allocations: 355.2 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3216, allocations: 7.953 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3216, allocations: 4 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3218, allocations: 39.95 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3218, allocations: 3.938 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3219, allocations: 7.984 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001064/0.322, allocations: 125.2 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.322, allocations: 0 / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002419/0.3222, allocations: 19.94 kB / 1.333 GB, free: 9.699 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.001005/0.3232, allocations: 0.8802 MB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006174/0.3238, allocations: 239.7 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.3238, allocations: 0 / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.3241, allocations: 123.9 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3244, allocations: 9.812 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.3277, allocations: 2.347 MB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.935e-05/0.3278, allocations: 87.38 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.3279, allocations: 24 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.3279, allocations: 31.41 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3279, allocations: 0 / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.358, allocations: 3.289 MB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.14, allocations: 10.16 kB / 1.34 GB, free: 2.688 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.54409420801676]