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.001475/0.001475, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001615/0.001615, allocations: 214.5 kB / 23.03 MB, free: 4.922 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.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.772/2.772, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="cs",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.002097/0.002097, allocations: 65.03 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 169.9 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003211/0.3205, allocations: 1.609 MB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3218, allocations: 0.6019 MB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.3219, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.3219, allocations: 7.922 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.949e-05/0.322, allocations: 15.81 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.3224, allocations: 67.8 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3225, allocations: 47.91 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3227, allocations: 12 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3228, allocations: 31.84 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.3229, allocations: 31.84 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3229, allocations: 4 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3231, allocations: 47.95 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.3231, allocations: 27.91 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.3232, allocations: 23.86 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3234, allocations: 105 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3234, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3234, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3234, allocations: 0 / 1.287 GB, free: 8.02 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.0006667/0.3241, allocations: 321.8 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3241, allocations: 11.97 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.34e-05/0.3242, allocations: 4.188 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.3242, allocations: 38.73 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.3253, allocations: 216.5 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3255, allocations: 158.3 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.3256, allocations: 67.52 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3256, allocations: 4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3261, allocations: 173.5 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3261, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3261, allocations: 7.938 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3261, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.3267, allocations: 239.7 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.3277, allocations: 471 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.3283, allocations: 242.3 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.3286, allocations: 116.8 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3287, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3287, allocations: 38.55 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3287, allocations: 4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00107/0.3298, allocations: 369.2 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3298, allocations: 59.28 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.33, allocations: 172.6 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.33, allocations: 25.7 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.3301, allocations: 100.1 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3301, allocations: 3.953 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.3302, allocations: 21.83 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3303, allocations: 326.8 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.3306, allocations: 111.9 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3309, allocations: 115.9 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.3315, allocations: 200.7 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3315, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006682/0.3321, allocations: 265.3 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3321, allocations: 4 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3321, allocations: 0 / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3322, allocations: 0 / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.3324, allocations: 43.86 kB / 1.29 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3324, allocations: 4 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3326, allocations: 39.95 kB / 1.29 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3326, allocations: 0 / 1.29 GB, free: 3.926 MB / 0.9825 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.000104/0.3327, allocations: 121.8 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.3327, allocations: 7.953 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3328, allocations: 7.969 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3328, allocations: 3.938 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3328, allocations: 3.938 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3328, allocations: 7.938 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.333, allocations: 224.7 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3331, allocations: 0 / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3332, allocations: 39.92 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3333, allocations: 0 / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3333, allocations: 7.984 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3333, allocations: 3.938 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3333, allocations: 4 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.334, allocations: 355.2 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.334, allocations: 7.953 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.334, allocations: 0 / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3342, allocations: 39.88 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3343, allocations: 3.984 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.3343, allocations: 0 / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001186/0.3344, allocations: 134.7 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3344, allocations: 0 / 1.291 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002634/0.3347, allocations: 23.97 kB / 1.291 GB, free: 2.883 MB / 0.9825 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.001044/0.3357, allocations: 0.8801 MB / 1.292 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.3364, allocations: 235.8 kB / 1.292 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3364, allocations: 0 / 1.292 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.3367, allocations: 119.9 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.337, allocations: 11.94 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.3406, allocations: 2.339 MB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.3407, allocations: 81.78 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.3408, allocations: 31.75 kB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/0.3409, allocations: 35.39 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3409, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.3644, allocations: 2.92 MB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.38, allocations: 11.36 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.173959459993057]