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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002012/0.002012, allocations: 63.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9757/0.9777, allocations: 168.7 MB / 1.274 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003225/0.9809, allocations: 1.585 MB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.9821, allocations: 0.6017 MB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.9822, allocations: 3.938 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.9822, allocations: 11.92 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.9823, allocations: 7.875 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.9826, allocations: 55.81 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.9828, allocations: 47.91 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.9828, allocations: 8 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.9829, allocations: 23.86 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.983, allocations: 31.84 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.983, allocations: 4 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.9832, allocations: 51.94 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.9832, allocations: 19.92 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.9833, allocations: 27.81 kB / 1.276 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.9835, allocations: 94.36 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.9835, allocations: 3.938 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9835, allocations: 3.938 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9835, allocations: 4 kB / 1.277 GB, free: 1.793 MB / 0.9669 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.000674/0.9842, allocations: 402.9 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.9842, allocations: 8.031 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.9852, allocations: 212.5 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.9854, allocations: 188.8 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.9854, allocations: 34.25 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.9855, allocations: 7.938 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.9859, allocations: 173.5 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9859, allocations: 0 / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9859, allocations: 3.984 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9859, allocations: 0 / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.9866, allocations: 239.7 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.9876, allocations: 0.5156 MB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.9883, allocations: 238.3 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.9886, allocations: 112.8 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.9886, allocations: 7.875 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.9886, allocations: 46.56 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.9886, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.001065/0.9897, allocations: 365.3 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.9898, allocations: 51.41 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.99, allocations: 168.8 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.99, allocations: 29.7 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.9901, allocations: 104.2 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.9901, allocations: 7.891 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.9902, allocations: 21.7 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.9903, allocations: 322.8 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.9906, allocations: 115.9 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.991, allocations: 111.8 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.9915, allocations: 196.7 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9915, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006759/0.9922, allocations: 261.3 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.9923, allocations: 4 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9923, allocations: 4 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9923, allocations: 32 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.9925, allocations: 47.91 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9925, allocations: 3.938 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.9927, allocations: 35.94 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.9927, allocations: 11.97 kB / 1.28 GB, free: 13.59 MB / 0.9825 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 0.0001115/0.9928, allocations: 118.3 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.9929, allocations: 11.91 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.9929, allocations: 15.86 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9929, allocations: 0 / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9929, allocations: 3.938 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9929, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.9933, allocations: 245.6 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9933, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.9934, allocations: 43.92 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.9935, allocations: 0 / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.9935, allocations: 11.98 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9935, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9935, allocations: 3.938 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.9942, allocations: 347.2 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.9943, allocations: 85.06 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.9943, allocations: 4.031 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.9945, allocations: 31.94 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.9945, allocations: 15.86 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.9946, allocations: 4 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001243/0.9947, allocations: 132.3 kB / 1.281 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9947, allocations: 0 / 1.281 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002639/0.9949, allocations: 16 kB / 1.282 GB, free: 12.43 MB / 0.9825 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.0001782/0.9951, allocations: 107.2 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007324/0.9958, allocations: 235.7 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9959, allocations: 0 / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.9962, allocations: 115.9 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.9964, allocations: 12.06 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.9971, allocations: 298.8 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.9975, allocations: 0.6924 MB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.9976, allocations: 27.98 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.9977, allocations: 15.42 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.9977, allocations: 4 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.004191/1.002, allocations: 1.305 MB / 1.284 GB, free: 9.562 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.228238167241216]