Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007806/0.0007806, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000823/0.000823, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8639/0.8639, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.04e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001988/0.002008, allocations: 1.592 MB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007535/0.002762, allocations: 0.6116 MB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.00281, allocations: 0 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.00285, allocations: 3.938 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.002936, allocations: 15.86 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.003233, allocations: 59.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.003328, allocations: 51.84 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.00341, allocations: 11.98 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.003508, allocations: 43.78 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.003546, allocations: 15.91 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.00356, allocations: 4 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.003651, allocations: 55.94 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.003701, allocations: 19.92 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.003724, allocations: 19.92 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.00386, allocations: 99.67 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003862, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003863, allocations: 4 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003866, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 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.0003912/0.004257, allocations: 329.8 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.004292, allocations: 16.73 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.591e-05/0.004318, allocations: 30.75 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.004807, allocations: 332.2 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.004973, allocations: 158.2 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.005024, allocations: 63.95 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.005037, allocations: 8.375 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.005345, allocations: 213.5 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.005351, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005361, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005365, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.005661, allocations: 287.6 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.006162, allocations: 0.5186 MB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.006469, allocations: 294.2 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.006616, allocations: 144.8 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.006627, allocations: 4 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.006643, allocations: 42.44 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.006644, allocations: 0 / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0005367/0.007181, allocations: 465.1 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.007205, allocations: 55.41 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.007301, allocations: 166.2 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.007312, allocations: 25.7 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.007353, allocations: 104.1 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.007369, allocations: 11.89 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.007408, allocations: 37.67 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.007477, allocations: 330.8 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.007625, allocations: 135.8 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.007766, allocations: 143.8 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.008035, allocations: 244.6 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008037, allocations: 4 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003251/0.008362, allocations: 321.2 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.008372, allocations: 8.031 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.008375, allocations: 0 / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.008384, allocations: 0 / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.0085, allocations: 83.81 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.008504, allocations: 0 / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.008579, allocations: 59.86 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.008759, allocations: 67.84 kB / 1.007 GB, free: 6.035 MB / 0.9636 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 5.876e-05/0.008818, allocations: 121.8 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.008837, allocations: 7.953 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.008854, allocations: 11.97 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.008855, allocations: 0 / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008859, allocations: 3.984 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.008861, allocations: 4 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.009015, allocations: 220.5 kB / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.009016, allocations: 0 / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.009129, allocations: 79.81 kB / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.009131, allocations: 0 / 1.007 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.009145, allocations: 7.984 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009146, allocations: 0 / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009146, allocations: 0 / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.009551, allocations: 430.9 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.009567, allocations: 19.95 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.009582, allocations: 4 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.009688, allocations: 55.86 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.009709, allocations: 0 / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.009751, allocations: 63.91 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.009814, allocations: 144 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.009814, allocations: 0 / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001555/0.00997, allocations: 15.94 kB / 1.008 GB, free: 4.801 MB / 0.9636 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.0005331/0.0105, allocations: 0.9387 MB / 1.009 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.01084, allocations: 291.6 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01084, allocations: 7.938 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.01099, allocations: 147.8 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.01115, allocations: 18.44 kB / 1.009 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.01302, allocations: 2.489 MB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.01308, allocations: 89.19 kB / 1.012 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.01322, allocations: 191.6 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.01329, allocations: 48.45 kB / 1.012 GB, free: 476 kB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01329, allocations: 0 / 1.012 GB, free: 476 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.02664, allocations: 3.382 MB / 1.015 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/6.535, allocations: 4.719 kB / 1.015 GB, free: 13.21 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.429658828303218]