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.0009254/0.0009254, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.002516/0.002516, allocations: 170.4 kB / 24.87 MB, free: 8.891 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.9506/0.9506, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.811/1.811, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.293e-06/1.293e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.32e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002325/0.002348, allocations: 1.628 MB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.003209, allocations: 0.6364 MB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.003268, allocations: 4.625 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.003317, allocations: 7.938 kB / 0.7906 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.003407, allocations: 12.77 kB / 0.7906 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.003732, allocations: 64.45 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.003826, allocations: 48.39 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.003903, allocations: 15.41 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.004023, allocations: 43.84 kB / 0.7907 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.004072, allocations: 11.92 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.004088, allocations: 7.984 kB / 0.7908 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.004215, allocations: 59.88 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.004262, allocations: 19.92 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.004287, allocations: 19.92 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.00444, allocations: 91.7 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004442, allocations: 0 / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004443, allocations: 0.7188 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004447, allocations: 0 / 0.7909 GB, free: 9.547 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.0003788/0.004825, allocations: 437.7 kB / 0.7914 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.004859, allocations: 8.031 kB / 0.7914 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.005338, allocations: 246 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005493, allocations: 149 kB / 0.7917 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.005552, allocations: 63.95 kB / 0.7918 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.005562, allocations: 4.906 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.005764, allocations: 151.9 kB / 0.7919 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00577, allocations: 0 / 0.7919 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005779, allocations: 0 / 0.7919 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005784, allocations: 4.75 kB / 0.792 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.00587, allocations: 87.92 kB / 0.792 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.006346, allocations: 473.6 kB / 0.7925 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.006504, allocations: 140.1 kB / 0.7926 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.006551, allocations: 44.38 kB / 0.7927 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.006562, allocations: 0.7188 kB / 0.7927 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.006585, allocations: 37.39 kB / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.006586, allocations: 1.156 kB / 0.7927 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002309/0.006817, allocations: 161.5 kB / 0.7929 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.006845, allocations: 56.12 kB / 0.7929 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00695, allocations: 207.3 kB / 0.7931 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006963, allocations: 26.92 kB / 0.7931 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.007023, allocations: 150.8 kB / 0.7933 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.007039, allocations: 3.953 kB / 0.7933 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.007088, allocations: 44.31 kB / 0.7933 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.007212, allocations: 0.4922 MB / 0.7938 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.007277, allocations: 58.16 kB / 0.7939 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.007328, allocations: 51.94 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.007432, allocations: 98.75 kB / 0.794 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007435, allocations: 4 kB / 0.794 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000165/0.0076, allocations: 157.4 kB / 0.7942 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007614, allocations: 8 kB / 0.7942 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007619, allocations: 0 / 0.7942 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.007626, allocations: 0 / 0.7942 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.007731, allocations: 49.05 kB / 0.7942 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.007733, allocations: 4 kB / 0.7942 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.007787, allocations: 32.95 kB / 0.7942 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.007839, allocations: 73.55 kB / 0.7943 GB, free: 5.898 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 8.167e-05/0.007921, allocations: 164.5 kB / 0.7945 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.007949, allocations: 8.797 kB / 0.7945 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.007971, allocations: 7.969 kB / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007973, allocations: 0.8125 kB / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007975, allocations: 0 / 0.7945 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.007977, allocations: 4.938 kB / 0.7945 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.008141, allocations: 181 kB / 0.7947 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.008142, allocations: 0 / 0.7947 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.008217, allocations: 53.58 kB / 0.7947 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008219, allocations: 0 / 0.7947 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.008233, allocations: 19.47 kB / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008235, allocations: 0 / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008236, allocations: 0 / 0.7947 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.008452, allocations: 303.6 kB / 0.795 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.008466, allocations: 7.938 kB / 0.795 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.00848, allocations: 4 kB / 0.795 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.008545, allocations: 24.91 kB / 0.7951 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.008572, allocations: 11.98 kB / 0.7951 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.008623, allocations: 68.88 kB / 0.7951 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.008678, allocations: 150.5 kB / 0.7953 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008678, allocations: 4 kB / 0.7953 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000181/0.008859, allocations: 12 kB / 0.7953 GB, free: 4.848 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.0001259/0.008985, allocations: 104.4 kB / 0.7954 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.009148, allocations: 128.9 kB / 0.7955 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00915, allocations: 0.75 kB / 0.7955 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.009217, allocations: 76.83 kB / 0.7956 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.009382, allocations: 21.58 kB / 0.7956 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.009873, allocations: 243 kB / 0.7958 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.019e-05/0.009913, allocations: 64.44 kB / 0.7959 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.01007, allocations: 180.7 kB / 0.7961 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.01016, allocations: 94.16 kB / 0.7962 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01016, allocations: 0 / 0.7962 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.0032/0.01336, allocations: 1.557 MB / 0.7977 GB, free: 2.352 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.176110185217112]