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.001499/0.001499, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001653/0.001653, allocations: 214 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.99/2.99, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 70.45 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002658/0.3022, allocations: 1.608 MB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3032, allocations: 0.6551 MB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.3033, allocations: 0 / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.3033, allocations: 7.922 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.3034, allocations: 11.88 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.3037, allocations: 63.8 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3038, allocations: 43.92 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.3039, allocations: 11.98 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.304, allocations: 35.84 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3041, allocations: 23.86 kB / 1.357 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3041, allocations: 4 kB / 1.357 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3042, allocations: 55.94 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3043, allocations: 19.92 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.3043, allocations: 31.8 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3045, allocations: 107.5 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3045, allocations: 4 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3045, allocations: 0 / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3045, allocations: 0 / 1.357 GB, free: 5.25 MB / 1.045 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.0005065/0.305, allocations: 317.8 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.305, allocations: 12.03 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.306, allocations: 220.5 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3062, allocations: 151.7 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.3063, allocations: 59.97 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3063, allocations: 3.938 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.3067, allocations: 177.5 kB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3067, allocations: 0 / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3067, allocations: 0 / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3067, allocations: 4 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.3073, allocations: 239.6 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008492/0.3081, allocations: 491 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3087, allocations: 234.3 kB / 1.359 GB, free: 3.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.309, allocations: 120.8 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.309, allocations: 3.984 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.309, allocations: 34.56 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.309, allocations: 0 / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0009416/0.31, allocations: 365.3 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.31, allocations: 51.53 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3102, allocations: 186 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3102, allocations: 25.7 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3103, allocations: 100.1 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3103, allocations: 11.89 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.3104, allocations: 21.64 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3105, allocations: 322.8 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.3108, allocations: 119.8 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.3111, allocations: 111.9 kB / 1.36 GB, free: 1.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.3116, allocations: 196.7 kB / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3116, allocations: 0 / 1.36 GB, free: 1.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006016/0.3122, allocations: 257.4 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3122, allocations: 12.03 kB / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3122, allocations: 0 / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3122, allocations: 0 / 1.36 GB, free: 1.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3124, allocations: 43.92 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3124, allocations: 3.938 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3126, allocations: 51.81 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3126, allocations: 0 / 1.36 GB, free: 1.188 MB / 1.045 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.821e-05/0.3127, allocations: 121.8 kB / 1.361 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.3127, allocations: 7.953 kB / 1.361 GB, free: 1.051 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.3127, allocations: 11.97 kB / 1.361 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3127, allocations: 4 kB / 1.361 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3127, allocations: 7.922 kB / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3127, allocations: 0 / 1.361 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.313, allocations: 216.6 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.313, allocations: 0 / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3132, allocations: 47.91 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3132, allocations: 0 / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3132, allocations: 3.984 kB / 1.361 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3132, allocations: 3.984 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3132, allocations: 3.938 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.3139, allocations: 359.2 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3139, allocations: 7.938 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3139, allocations: 7.938 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3141, allocations: 31.94 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.3141, allocations: 3.938 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3141, allocations: 7.984 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001146/0.3142, allocations: 135.3 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.000234/0.3145, allocations: 12 kB / 1.361 GB, free: 148 kB / 1.045 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.0001185/0.3146, allocations: 95.25 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.3152, allocations: 231.7 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3152, allocations: 0 / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3155, allocations: 123.9 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.3157, allocations: 4 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.3164, allocations: 347 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3167, allocations: 0.6963 MB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.3168, allocations: 19.41 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3168, allocations: 0 / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of Templates: time 0.003235/0.32, allocations: 1.677 MB / 1.365 GB, free: 12.9 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.636213390011108]