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.001915/0.001915, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002499/0.002499, allocations: 214.3 kB / 22.25 MB, free: 4.852 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.789 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.898/2.898, allocations: 476 MB / 0.7699 GB, free: 4.758 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.003364/0.003364, allocations: 64.77 kB / 1.117 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4234, allocations: 170 MB / 1.283 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003268/0.4266, allocations: 1.579 MB / 1.284 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.4281, allocations: 0.6132 MB / 1.285 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.4281, allocations: 0 / 1.285 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.4282, allocations: 7.875 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.4283, allocations: 7.922 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.4287, allocations: 63.81 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.4289, allocations: 51.84 kB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.429, allocations: 19.92 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.4291, allocations: 31.84 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.4292, allocations: 19.92 kB / 1.285 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.4292, allocations: 4 kB / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.4294, allocations: 59.88 kB / 1.285 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.4295, allocations: 23.91 kB / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.4295, allocations: 23.8 kB / 1.285 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.4298, allocations: 103.9 kB / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4298, allocations: 0 / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4298, allocations: 0 / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4298, allocations: 4 kB / 1.285 GB, free: 1.57 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.0007171/0.4305, allocations: 329.8 kB / 1.285 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4306, allocations: 8.031 kB / 1.285 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.4306, allocations: 30.75 kB / 1.285 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.4316, allocations: 216.5 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.4319, allocations: 166.8 kB / 1.286 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/0.432, allocations: 63.7 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.432, allocations: 0 / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.4325, allocations: 173.5 kB / 1.286 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4325, allocations: 4 kB / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4325, allocations: 0 / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4325, allocations: 0 / 1.286 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4331, allocations: 235.8 kB / 1.286 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4341, allocations: 478.9 kB / 1.287 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.4348, allocations: 234.3 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.4351, allocations: 124.8 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4351, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.4351, allocations: 34.56 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.4351, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.001051/0.4362, allocations: 377.2 kB / 1.287 GB, free: 15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4362, allocations: 55.34 kB / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4364, allocations: 168.7 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4364, allocations: 25.7 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.4365, allocations: 104.1 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.4365, allocations: 7.953 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.4366, allocations: 21.69 kB / 1.288 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000259/0.4369, allocations: 318.8 kB / 1.288 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.4372, allocations: 115.9 kB / 1.288 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.4374, allocations: 111.9 kB / 1.288 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.438, allocations: 200.7 kB / 1.289 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.438, allocations: 3.938 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006664/0.4387, allocations: 257.3 kB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4387, allocations: 5.875 kB / 1.289 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4387, allocations: 7.969 kB / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4388, allocations: 0 / 1.289 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.439, allocations: 47.91 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.439, allocations: 3.938 kB / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4392, allocations: 35.94 kB / 1.289 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4392, allocations: 7.984 kB / 1.289 GB, free: 13.48 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.0001141/0.4393, allocations: 113.8 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.4393, allocations: 11.94 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.4394, allocations: 11.97 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4394, allocations: 0 / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4394, allocations: 3.938 kB / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4394, allocations: 0 / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.4397, allocations: 216.7 kB / 1.289 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4397, allocations: 0 / 1.289 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.4399, allocations: 47.91 kB / 1.289 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.4399, allocations: 7.938 kB / 1.289 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4399, allocations: 3.984 kB / 1.289 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4399, allocations: 0 / 1.289 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4399, allocations: 7.922 kB / 1.289 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.4406, allocations: 347.3 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.4407, allocations: 7.953 kB / 1.29 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.4407, allocations: 8 kB / 1.29 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4409, allocations: 39.97 kB / 1.29 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.4409, allocations: 3.938 kB / 1.29 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4409, allocations: 7.984 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001209/0.441, allocations: 128.8 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.441, allocations: 0 / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002699/0.4413, allocations: 19.94 kB / 1.29 GB, free: 12.45 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.001221/0.4425, allocations: 0.884 MB / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006657/0.4432, allocations: 235.8 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4432, allocations: 0 / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.4435, allocations: 115.9 kB / 1.291 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4439, allocations: 19.88 kB / 1.291 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.4477, allocations: 2.335 MB / 1.293 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.4478, allocations: 79.61 kB / 1.293 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.4479, allocations: 31.73 kB / 1.293 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.448, allocations: 31.36 kB / 1.294 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.448, allocations: 3.938 kB / 1.294 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.4805, allocations: 3.264 MB / 1.297 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.78, allocations: 8.156 kB / 1.297 GB, free: 5.457 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.706118130125105]