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.001891/0.001891, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003213/0.003213, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.529/3.529, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.003378/0.003378, allocations: 73.06 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3815, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002936/0.3845, allocations: 1.582 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3856, allocations: 0.6127 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3857, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.3857, allocations: 7.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/0.3858, allocations: 7.875 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3861, allocations: 55.86 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3862, allocations: 51.83 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.3863, allocations: 12 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3864, allocations: 35.8 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.3865, allocations: 23.91 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3865, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3867, allocations: 55.95 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.3868, allocations: 27.89 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.3868, allocations: 23.81 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.387, allocations: 95.62 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.387, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.387, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.387, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 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.0005889/0.3876, allocations: 321.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3876, allocations: 12.03 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/0.3886, allocations: 216.5 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3889, allocations: 164.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.3889, allocations: 59.95 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.389, allocations: 7.938 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.3894, allocations: 173.5 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3894, allocations: 8 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3894, allocations: 0 / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3894, allocations: 0 / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.39, allocations: 231.8 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.3909, allocations: 451.6 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.3916, allocations: 234.3 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.3919, allocations: 116.8 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3919, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.3919, allocations: 50.48 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3919, allocations: 0 / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.001044/0.393, allocations: 365.2 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.393, allocations: 51.41 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3932, allocations: 159.1 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3932, allocations: 25.7 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.3933, allocations: 104.2 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3933, allocations: 16.05 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3934, allocations: 21.69 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3935, allocations: 318.8 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.3939, allocations: 107.9 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.3942, allocations: 119.9 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3947, allocations: 204.6 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3947, allocations: 0 / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006861/0.3954, allocations: 257.4 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3954, allocations: 4 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3954, allocations: 3.984 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3954, allocations: 0 / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3957, allocations: 47.94 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3957, allocations: 11.88 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.3958, allocations: 31.94 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3959, allocations: 7.984 kB / 1.37 GB, free: 6.938 MB / 1.061 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.0001004/0.396, allocations: 113.8 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.396, allocations: 11.94 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.396, allocations: 11.97 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.396, allocations: 4 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.396, allocations: 3.938 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.396, allocations: 0 / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3963, allocations: 181.3 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3963, allocations: 3.938 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.3965, allocations: 43.91 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3965, allocations: 0 / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.3965, allocations: 4 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3965, allocations: 7.984 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3965, allocations: 0 / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.3972, allocations: 351.2 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.3973, allocations: 11.94 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3973, allocations: 0 / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3975, allocations: 35.94 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3975, allocations: 7.938 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3975, allocations: 3.984 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001133/0.3977, allocations: 120.9 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 7.969 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002684/0.3979, allocations: 16 kB / 1.371 GB, free: 5.957 MB / 1.061 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.0001501/0.3981, allocations: 99.17 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.3988, allocations: 235.8 kB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3988, allocations: 0 / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.3991, allocations: 119.9 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3993, allocations: 8 kB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.4, allocations: 311 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.473e-05/0.4001, allocations: 83.38 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.536e-05/0.4002, allocations: 20.06 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.4003, allocations: 15.42 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4003, allocations: 3.938 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of Templates: time 0.004215/0.4045, allocations: 1.349 MB / 1.373 GB, free: 3.688 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/jenkins/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: 9.459523927420378]