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.0009705/0.0009705, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.0009574/0.0009574, allocations: 165 kB / 24.28 MB, free: 272 kB / 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.9649/0.9649, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.809/1.809, allocations: 359 MB / 0.6055 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 3.447e-06/3.447e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.611e-05, allocations: 4 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002916/0.002942, allocations: 1.633 MB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004052, allocations: 0.6367 MB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.004122, allocations: 0.6562 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.004178, allocations: 9.531 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.616e-05/0.004274, allocations: 3.938 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.004654, allocations: 67.73 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.004763, allocations: 53.42 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.004856, allocations: 11.98 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.004975, allocations: 39.83 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.005027, allocations: 19.92 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.005045, allocations: 7.438 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.005172, allocations: 55.88 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.005226, allocations: 27.91 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.005254, allocations: 11.94 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.00542, allocations: 99.62 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005422, allocations: 0 / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005423, allocations: 0 / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.005427, allocations: 0 / 0.7897 GB, free: 10.09 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.0004448/0.005872, allocations: 428.8 kB / 0.7901 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.005908, allocations: 12.02 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.006385, allocations: 237.5 kB / 0.7904 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.006561, allocations: 160.5 kB / 0.7905 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/0.006641, allocations: 67.95 kB / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.006653, allocations: 384 / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.006895, allocations: 176.4 kB / 0.7908 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.006901, allocations: 4 kB / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006913, allocations: 0 / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00692, allocations: 1.531 kB / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.007052, allocations: 127.9 kB / 0.7909 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.007556, allocations: 0.4978 MB / 0.7914 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.007755, allocations: 166.9 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.007826, allocations: 75.64 kB / 0.7916 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.00784, allocations: 5.453 kB / 0.7916 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.007866, allocations: 37.39 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.007868, allocations: 0 / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003068/0.008174, allocations: 225.9 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.008201, allocations: 51.97 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.008307, allocations: 208.8 kB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008321, allocations: 25.7 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.00838, allocations: 150.8 kB / 0.7923 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.008399, allocations: 7.938 kB / 0.7923 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.008443, allocations: 39.97 kB / 0.7923 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.008566, allocations: 0.4981 MB / 0.7928 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.008643, allocations: 67.94 kB / 0.7929 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.008714, allocations: 79.92 kB / 0.7929 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.008832, allocations: 124.8 kB / 0.7931 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008834, allocations: 0.5 kB / 0.7931 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.009016, allocations: 194.5 kB / 0.7933 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.009028, allocations: 5.406 kB / 0.7933 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.009032, allocations: 0.9062 kB / 0.7933 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.009043, allocations: 0 / 0.7933 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.009151, allocations: 60.75 kB / 0.7933 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.009156, allocations: 6.203 kB / 0.7933 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.009211, allocations: 31.91 kB / 0.7934 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.009265, allocations: 72.95 kB / 0.7934 GB, free: 6.113 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 6.801e-05/0.009333, allocations: 160.5 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.009356, allocations: 13.08 kB / 0.7936 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.009377, allocations: 7.969 kB / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.009378, allocations: 0 / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009382, allocations: 1.062 kB / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.009384, allocations: 0 / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.009547, allocations: 208.5 kB / 0.7938 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.009548, allocations: 0.5 kB / 0.7938 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.009616, allocations: 49.55 kB / 0.7938 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009618, allocations: 0 / 0.7938 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.009632, allocations: 15.98 kB / 0.7939 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.009633, allocations: 4.75 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009634, allocations: 3.984 kB / 0.7939 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.009881, allocations: 345.2 kB / 0.7942 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.00989, allocations: 3.953 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.009905, allocations: 4.656 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.009974, allocations: 32.86 kB / 0.7942 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.01, allocations: 4 kB / 0.7942 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.01004, allocations: 61.88 kB / 0.7943 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.0101, allocations: 161 kB / 0.7945 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0101, allocations: 0 / 0.7945 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001621/0.01026, allocations: 20.25 kB / 0.7945 GB, free: 4.984 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.0001096/0.01037, allocations: 99.25 kB / 0.7946 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.01058, allocations: 171.5 kB / 0.7947 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01058, allocations: 0 / 0.7947 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.01066, allocations: 99.53 kB / 0.7948 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01083, allocations: 20.11 kB / 0.7948 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.01137, allocations: 257.7 kB / 0.7951 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.01141, allocations: 67.34 kB / 0.7952 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.01156, allocations: 187.6 kB / 0.7953 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.01162, allocations: 36.45 kB / 0.7954 GB, free: 4 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01162, allocations: 0 / 0.7954 GB, free: 4 MB / 0.7448 GB Notification: Performance of Templates: time 0.002928/0.01455, allocations: 1.355 MB / 0.7967 GB, free: 2.656 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.042425193823874]