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.0007614/0.0007614, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.00189, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007188/0.0007188, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001742, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9538/0.9538, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08894/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.45/2.45, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2553/2.705, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.455e-06/2.455e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.461e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.00332/0.003344, allocations: 1.693 MB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.004412, allocations: 0.631 MB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.004477, allocations: 0 / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.004527, allocations: 15.92 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.004598, allocations: 7.875 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.004906, allocations: 63.78 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.005036, allocations: 47.8 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.005138, allocations: 19.94 kB / 0.8214 GB, free: 0 / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.005397, allocations: 55.77 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.005471, allocations: 19.92 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.005496, allocations: 4 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.005683, allocations: 55.94 kB / 0.8215 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.005752, allocations: 23.92 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.005782, allocations: 11.94 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.005986, allocations: 71.75 kB / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.006003, allocations: 0 / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006004, allocations: 0 / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.006022, allocations: 0 / 0.8216 GB, free: 15.76 MB / 0.8073 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.000611/0.006633, allocations: 324 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.006675, allocations: 12.03 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.007321, allocations: 249.7 kB / 0.8222 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.007544, allocations: 148.2 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.007624, allocations: 71.94 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.007645, allocations: 4.375 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.007925, allocations: 138.6 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.007934, allocations: 4 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.007948, allocations: 0 / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.007955, allocations: 3.984 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.008079, allocations: 83.92 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.008692, allocations: 363.9 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.008918, allocations: 118.4 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.00898, allocations: 40.89 kB / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.008994, allocations: 0 / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.009019, allocations: 30.56 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.285e-06/0.009021, allocations: 7.922 kB / 0.8231 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0002784/0.0093, allocations: 137.5 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.009331, allocations: 51.41 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.00944, allocations: 149.1 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.009457, allocations: 25.7 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.009508, allocations: 100 kB / 0.8236 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.009532, allocations: 11.95 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.009593, allocations: 29.67 kB / 0.8236 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.009694, allocations: 322.8 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.00977, allocations: 47.94 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.009839, allocations: 60.02 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.009967, allocations: 84.75 kB / 0.8241 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00997, allocations: 0 / 0.8241 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.01017, allocations: 125.5 kB / 0.8242 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.01019, allocations: 5.406 kB / 0.8242 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.0102, allocations: 4.094 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.01023, allocations: 4 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.01045, allocations: 75.81 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01045, allocations: 4 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.01053, allocations: 27.95 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.01062, allocations: 75.84 kB / 0.8244 GB, free: 12.7 MB / 0.8073 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 9.139e-05/0.01071, allocations: 112.6 kB / 0.8245 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01075, allocations: 7.984 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.01078, allocations: 11.97 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01078, allocations: 0 / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01078, allocations: 0 / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01079, allocations: 0 / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.011, allocations: 141.7 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.011, allocations: 0 / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.01116, allocations: 75.88 kB / 0.8247 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01118, allocations: 11.95 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01118, allocations: 0 / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.0112, allocations: 7.984 kB / 0.8248 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.0112, allocations: 3.938 kB / 0.8248 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0112, allocations: 0 / 0.8248 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01145, allocations: 219.4 kB / 0.825 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01147, allocations: 7.938 kB / 0.825 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01158, allocations: 35.92 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.01161, allocations: 4 kB / 0.825 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.01168, allocations: 67.84 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.01172, allocations: 32.81 kB / 0.8251 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01172, allocations: 0 / 0.8251 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00026/0.01198, allocations: 16 kB / 0.8251 GB, free: 11.91 MB / 0.8073 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.0001836/0.01217, allocations: 80.42 kB / 0.8252 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01238, allocations: 120.7 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.01239, allocations: 0 / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.01249, allocations: 68.72 kB / 0.8254 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01272, allocations: 47.83 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.01398, allocations: 231.1 kB / 0.8257 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01403, allocations: 64.59 kB / 0.8257 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.01427, allocations: 179.6 kB / 0.8259 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.0144, allocations: 83.33 kB / 0.826 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of SimCode: time 1.432e-06/0.0144, allocations: 0 / 0.826 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of Templates: time 0.00443/0.01883, allocations: 1.529 MB / 0.8275 GB, free: 9.473 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149445474147797]