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.0009933/0.0009933, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001003/0.001003, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9929/0.9929, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.883/1.883, allocations: 359 MB / 0.6052 GB, free: 11 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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.861e-05, allocations: 3.469 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002421/0.00245, allocations: 1.646 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.003404, allocations: 0.6325 MB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.003472, allocations: 1.094 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.003528, allocations: 7.938 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.003626, allocations: 12.55 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.00401, allocations: 68.64 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.00412, allocations: 55.78 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.004218, allocations: 8.641 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.004358, allocations: 35.97 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.004418, allocations: 19.44 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.004441, allocations: 4 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.004581, allocations: 63.81 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.004644, allocations: 19.92 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.004677, allocations: 15.92 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.004858, allocations: 95.7 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004861, allocations: 0 / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.163e-06/0.004863, allocations: 0 / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.004869, allocations: 0 / 0.7897 GB, free: 9.785 MB / 0.7448 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.0005462/0.005415, allocations: 428.8 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005455, allocations: 9.688 kB / 0.7901 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.005945, allocations: 244.3 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.006151, allocations: 164.6 kB / 0.7905 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.006233, allocations: 71.94 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.006247, allocations: 384 / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.006495, allocations: 167.2 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.006501, allocations: 4.625 kB / 0.7908 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006514, allocations: 0 / 0.7908 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.006521, allocations: 0.6562 kB / 0.7908 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.006658, allocations: 136.9 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.007251, allocations: 0.4969 MB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.007468, allocations: 172.1 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.007543, allocations: 71.7 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.00756, allocations: 0 / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.007585, allocations: 41.86 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.007586, allocations: 0.8438 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.007927, allocations: 218.4 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.007955, allocations: 51.41 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.008077, allocations: 208.6 kB / 0.7921 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008091, allocations: 29.7 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.008157, allocations: 150.8 kB / 0.7923 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.008174, allocations: 4.766 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.008222, allocations: 43.33 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.008345, allocations: 0.4932 MB / 0.7928 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.00843, allocations: 79.86 kB / 0.7929 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.008505, allocations: 69.16 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.008628, allocations: 124.4 kB / 0.7931 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.00863, allocations: 2.219 kB / 0.7931 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.008829, allocations: 197.4 kB / 0.7933 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.008843, allocations: 4 kB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.008847, allocations: 2.969 kB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.008863, allocations: 0 / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.008985, allocations: 63.84 kB / 0.7933 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.008991, allocations: 3.984 kB / 0.7933 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.009047, allocations: 31.95 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.009103, allocations: 73.19 kB / 0.7934 GB, free: 5.793 MB / 0.7448 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.971e-05/0.009183, allocations: 157.1 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.009211, allocations: 8.484 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.009242, allocations: 15.95 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009244, allocations: 0.5625 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.009248, allocations: 4.75 kB / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009251, allocations: 0 / 0.7936 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.00942, allocations: 200.5 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.009421, allocations: 1.125 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.0095, allocations: 52.52 kB / 0.7939 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009502, allocations: 0 / 0.7939 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.009517, allocations: 17.34 kB / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.009518, allocations: 0 / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00952, allocations: 0 / 0.7939 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.009788, allocations: 351.3 kB / 0.7942 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.009804, allocations: 7.953 kB / 0.7942 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.009818, allocations: 0 / 0.7942 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.009887, allocations: 31.94 kB / 0.7942 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.009919, allocations: 4 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.009967, allocations: 72.77 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.01003, allocations: 152.4 kB / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 1.031 kB / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001867/0.01022, allocations: 16 kB / 0.7945 GB, free: 4.668 MB / 0.7448 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.0001446/0.01036, allocations: 104.4 kB / 0.7946 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.01058, allocations: 172.6 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01059, allocations: 0.9688 kB / 0.7947 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/0.01068, allocations: 100.1 kB / 0.7948 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.01087, allocations: 16.58 kB / 0.7949 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.01149, allocations: 255 kB / 0.7951 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.01153, allocations: 68.52 kB / 0.7952 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.01169, allocations: 181.1 kB / 0.7953 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.01176, allocations: 32.47 kB / 0.7954 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01176, allocations: 4 kB / 0.7954 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.003222/0.01498, allocations: 1.357 MB / 0.7967 GB, free: 2.355 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.263618547003716]