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.0009223/0.0009223, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00118/0.00118, allocations: 169 kB / 23.27 MB, free: 1.219 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.9491/0.9491, allocations: 177.1 MB / 203.7 MB, free: 5.484 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 2.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: 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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.727e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002358/0.002386, allocations: 1.637 MB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.003311, allocations: 0.6311 MB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.003378, allocations: 0 / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.003425, allocations: 7.922 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.003521, allocations: 7.875 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.003904, allocations: 63.8 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.004016, allocations: 59.77 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004116, allocations: 8 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.00427, allocations: 47.77 kB / 0.8922 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.004317, allocations: 11.98 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004334, allocations: 4 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.004466, allocations: 51.94 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.004525, allocations: 23.92 kB / 0.8923 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.004551, allocations: 23.91 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004719, allocations: 79.72 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004722, allocations: 0 / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004723, allocations: 8 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.004727, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 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.0004244/0.005151, allocations: 440 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.005191, allocations: 16.61 kB / 0.8928 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.005633, allocations: 240.4 kB / 0.893 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.005793, allocations: 151 kB / 0.8932 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.005851, allocations: 67.95 kB / 0.8932 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.005862, allocations: 4.375 kB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.006073, allocations: 150.5 kB / 0.8934 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.006082, allocations: 4 kB / 0.8934 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.006091, allocations: 0 / 0.8934 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006098, allocations: 0 / 0.8934 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.00618, allocations: 83.92 kB / 0.8935 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.006661, allocations: 475.7 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.006819, allocations: 135 kB / 0.894 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.006864, allocations: 43.66 kB / 0.8941 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.00688, allocations: 0 / 0.8941 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.0069, allocations: 33.39 kB / 0.8941 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.006901, allocations: 0 / 0.8941 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002561/0.007157, allocations: 165.6 kB / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.007193, allocations: 63.34 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.007315, allocations: 203.5 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.007329, allocations: 25.7 kB / 0.8946 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.0074, allocations: 150.9 kB / 0.8947 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.00742, allocations: 7.938 kB / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.007473, allocations: 35.34 kB / 0.8947 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.007629, allocations: 0.5 MB / 0.8952 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.007699, allocations: 51.94 kB / 0.8953 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.007773, allocations: 51.95 kB / 0.8953 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.007877, allocations: 99.52 kB / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.007883, allocations: 0 / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.008058, allocations: 157.4 kB / 0.8956 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.008074, allocations: 6.188 kB / 0.8956 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.008081, allocations: 4 kB / 0.8956 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.008094, allocations: 4.094 kB / 0.8956 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.008208, allocations: 51.92 kB / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.008211, allocations: 0 / 0.8956 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.008266, allocations: 39.83 kB / 0.8957 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.008359, allocations: 67.84 kB / 0.8957 GB, free: 3.371 MB / 0.8542 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.908e-05/0.008438, allocations: 164.5 kB / 0.8959 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.008461, allocations: 7.953 kB / 0.8959 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.00849, allocations: 11.97 kB / 0.8959 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008492, allocations: 0 / 0.8959 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.008494, allocations: 0 / 0.8959 GB, free: 3.176 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.008497, allocations: 7.922 kB / 0.8959 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.008664, allocations: 181.1 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008665, allocations: 0 / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.00874, allocations: 55.92 kB / 0.8962 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008742, allocations: 4 kB / 0.8962 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.008753, allocations: 11.97 kB / 0.8962 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008754, allocations: 0 / 0.8962 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008756, allocations: 0 / 0.8962 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.008986, allocations: 303.6 kB / 0.8965 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.009001, allocations: 7.953 kB / 0.8965 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.009014, allocations: 7.984 kB / 0.8965 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.009081, allocations: 32 kB / 0.8965 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.009106, allocations: 3.984 kB / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.009151, allocations: 67.84 kB / 0.8966 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003869/0.009537, allocations: 152.8 kB / 0.8967 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009537, allocations: 0 / 0.8967 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001765/0.009714, allocations: 16 kB / 0.8967 GB, free: 2.297 MB / 0.8542 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.0001514/0.009865, allocations: 95.25 kB / 0.8968 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01003, allocations: 127.5 kB / 0.8969 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01003, allocations: 4 kB / 0.8969 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.01009, allocations: 75.55 kB / 0.897 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.01026, allocations: 19.92 kB / 0.897 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.01074, allocations: 241.8 kB / 0.8973 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01078, allocations: 63.33 kB / 0.8973 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.01094, allocations: 183.6 kB / 0.8975 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.01103, allocations: 94.17 kB / 0.8976 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01103, allocations: 0 / 0.8976 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of Templates: time 0.003513/0.01454, allocations: 1.547 MB / 0.8991 GB, free: 15.8 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] 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","",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.225448200944811]