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.001875/0.001875, allocations: 110 kB / 16.46 MB, free: 6.453 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.002414/0.002414, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.584/1.584, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.33/3.33, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002095/0.002095, allocations: 70 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 176.1 MB / 1.321 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002871/0.3928, allocations: 1.607 MB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3941, allocations: 0.6506 MB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.3941, allocations: 3.938 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.3942, allocations: 7.922 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.3942, allocations: 7.938 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3945, allocations: 67.8 kB / 1.324 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3947, allocations: 47.86 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.3947, allocations: 19.92 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3949, allocations: 27.91 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.3949, allocations: 23.86 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.395, allocations: 4 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3951, allocations: 59.94 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3952, allocations: 19.92 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.3952, allocations: 35.78 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3954, allocations: 99.56 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3954, allocations: 0 / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3954, allocations: 4 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3954, allocations: 0 / 1.324 GB, free: 260 kB / 1.014 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.000614/0.396, allocations: 398.9 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3961, allocations: 15.92 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3971, allocations: 220.5 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3973, allocations: 222.9 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.3974, allocations: 34.25 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3974, allocations: 3.938 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.3979, allocations: 173.5 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3979, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3979, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3979, allocations: 4 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.3986, allocations: 231.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.3995, allocations: 0.5272 MB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.4001, allocations: 234.3 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.4004, allocations: 116.8 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4004, allocations: 8 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4005, allocations: 30.56 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4005, allocations: 0 / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001054/0.4015, allocations: 373.2 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4016, allocations: 51.41 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.4018, allocations: 182 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.4018, allocations: 25.7 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.4019, allocations: 96.14 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4019, allocations: 7.953 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.402, allocations: 21.69 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4021, allocations: 322.8 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.4024, allocations: 115.9 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.4027, allocations: 111.9 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.4033, allocations: 200.6 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4033, allocations: 4 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006657/0.404, allocations: 253.4 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.404, allocations: 8 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.404, allocations: 8.016 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.404, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.4042, allocations: 39.92 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4042, allocations: 3.938 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4044, allocations: 39.94 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4044, allocations: 3.984 kB / 1.328 GB, free: 12.01 MB / 1.029 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.000104/0.4045, allocations: 121.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.4045, allocations: 11.91 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.4046, allocations: 11.88 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4046, allocations: 4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4046, allocations: 3.938 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4046, allocations: 0 / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.4049, allocations: 245.5 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4049, allocations: 7.938 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4051, allocations: 47.91 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4051, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4051, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4051, allocations: 0 / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.4051, allocations: 3.938 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.4059, allocations: 355.3 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.406, allocations: 89.05 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.406, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4062, allocations: 35.94 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4063, allocations: 3.938 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4063, allocations: 3.984 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001376/0.4064, allocations: 132.8 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4064, allocations: 4.031 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002776/0.4067, allocations: 15.94 kB / 1.329 GB, free: 10.84 MB / 1.029 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.0001991/0.4069, allocations: 111.2 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.4076, allocations: 231.8 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4076, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.408, allocations: 123.9 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4082, allocations: 8 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.4089, allocations: 290.7 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4093, allocations: 0.7041 MB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000121/0.4094, allocations: 24 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4095, allocations: 15.42 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4095, allocations: 4 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of Templates: time 0.004172/0.4136, allocations: 1.292 MB / 1.332 GB, free: 7.996 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.212910379748791]