Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007753/0.0007753, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.001968, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007419/0.0007419, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009309/0.001673, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9268/0.9268, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08548/1.012, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.862/1.862, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4945/2.356, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.767e-05, allocations: 7.406 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003417/0.003445, allocations: 1.688 MB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.00449, allocations: 0.6482 MB / 0.732 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.004553, allocations: 0 / 0.732 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.062e-05/0.004603, allocations: 7.938 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.668e-05/0.00468, allocations: 13.83 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.004987, allocations: 59.8 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.005108, allocations: 46.7 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.005202, allocations: 29.59 kB / 0.7321 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005384, allocations: 43.02 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.005457, allocations: 26.45 kB / 0.7322 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.005478, allocations: 4.781 kB / 0.7322 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.005652, allocations: 55.94 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.005708, allocations: 17.72 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.005738, allocations: 15.94 kB / 0.7323 GB, free: 1.805 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.006002, allocations: 75.73 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.006016, allocations: 0 / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.006018, allocations: 0 / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.006033, allocations: 4.469 kB / 0.7323 GB, free: 1.727 MB / 0.698 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.0005387/0.006572, allocations: 325.6 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006608, allocations: 8.031 kB / 0.7327 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.007166, allocations: 253.9 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.007367, allocations: 146.1 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.007438, allocations: 67.94 kB / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.007456, allocations: 4.375 kB / 0.7331 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.007698, allocations: 139.9 kB / 0.7332 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.007705, allocations: 0.5938 kB / 0.7332 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.007718, allocations: 4 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.007725, allocations: 4.531 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.007836, allocations: 84.83 kB / 0.7333 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.008361, allocations: 361.2 kB / 0.7337 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.008552, allocations: 112.9 kB / 0.7338 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.008607, allocations: 44.83 kB / 0.7338 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.008623, allocations: 0 / 0.7338 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.008653, allocations: 34.56 kB / 0.7339 GB, free: 60 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.008654, allocations: 5 kB / 0.7339 GB, free: 56 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002693/0.008923, allocations: 127.8 kB / 0.734 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.008952, allocations: 55.41 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.009056, allocations: 148.2 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.009073, allocations: 25.7 kB / 0.7342 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.009125, allocations: 100 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.009148, allocations: 7.953 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.009209, allocations: 30.42 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.009305, allocations: 322.8 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.009375, allocations: 57.94 kB / 0.7347 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.009435, allocations: 47.95 kB / 0.7347 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.009558, allocations: 90.19 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00956, allocations: 0 / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.009732, allocations: 126.8 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.009746, allocations: 8 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.009751, allocations: 0.9062 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.009767, allocations: 3.984 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.009938, allocations: 76.84 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.009942, allocations: 2.375 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.01001, allocations: 31.95 kB / 0.7351 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.01009, allocations: 70.59 kB / 0.7351 GB, free: 14.7 MB / 0.7136 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.01017, allocations: 112.6 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.0102, allocations: 7.984 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.01023, allocations: 11.97 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01023, allocations: 0 / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01023, allocations: 0 / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01023, allocations: 0 / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.01043, allocations: 147 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01043, allocations: 0 / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.01056, allocations: 76.56 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.01058, allocations: 7.953 kB / 0.7355 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01058, allocations: 0.5 kB / 0.7355 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01059, allocations: 11.42 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0106, allocations: 3.938 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0106, allocations: 0 / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01082, allocations: 227.3 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01084, allocations: 4 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.01112, allocations: 31.95 kB / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.01115, allocations: 2.469 kB / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.01122, allocations: 67.84 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.01126, allocations: 34.5 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01126, allocations: 0 / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002309/0.01149, allocations: 20.8 kB / 0.7359 GB, free: 13.91 MB / 0.7136 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.0001513/0.01164, allocations: 85.55 kB / 0.7359 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.01184, allocations: 121.6 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.01185, allocations: 1.156 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.01194, allocations: 68.72 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.01214, allocations: 42.83 kB / 0.7362 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.01314, allocations: 227.6 kB / 0.7364 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.01318, allocations: 60 kB / 0.7364 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.0134, allocations: 181.3 kB / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01351, allocations: 79.86 kB / 0.7367 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/0.01351, allocations: 5.125 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of Templates: time 0.004027/0.01754, allocations: 1.555 MB / 0.7382 GB, free: 11.52 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar/Buildings_12_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: 4.626032964326441]