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.001629/0.001629, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001966/0.001966, allocations: 213.2 kB / 23.04 MB, free: 4.844 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.064/3.064, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.002/0.002, allocations: 67.69 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3263, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.003194/0.3295, allocations: 1.601 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3308, allocations: 0.6118 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.3308, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.3309, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.331, allocations: 7.875 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3314, allocations: 67.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3315, allocations: 43.91 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3316, allocations: 15.97 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3318, allocations: 27.86 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.3318, allocations: 23.86 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3319, allocations: 8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.332, allocations: 63.92 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3321, allocations: 23.92 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3321, allocations: 15.88 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.3323, allocations: 107.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3323, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3323, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3323, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 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.0006293/0.333, allocations: 325.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.333, allocations: 12.03 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.3339, allocations: 220.4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3342, allocations: 158.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.3343, allocations: 59.97 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3343, allocations: 7.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3347, allocations: 173.4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3347, allocations: 7.984 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3347, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3347, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.3353, allocations: 235.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.3361, allocations: 455.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.3367, allocations: 238.3 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.337, allocations: 116.8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.337, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3371, allocations: 34.56 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3371, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0009924/0.338, allocations: 369.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3381, allocations: 55.34 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3383, allocations: 161.5 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3383, allocations: 25.83 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.3384, allocations: 104.1 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3384, allocations: 11.95 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3384, allocations: 21.69 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3386, allocations: 318.8 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.3389, allocations: 107.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.3392, allocations: 115.9 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.3397, allocations: 204.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3397, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006464/0.3403, allocations: 253.4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3403, allocations: 7.938 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3404, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3404, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3406, allocations: 51.94 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3406, allocations: 3.938 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3407, allocations: 31.94 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3408, allocations: 11.92 kB / 1.333 GB, free: 10.3 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.0001189/0.3409, allocations: 113.8 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.3409, allocations: 7.953 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.341, allocations: 15.95 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.341, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.341, allocations: 3.938 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.341, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3412, allocations: 189.2 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3412, allocations: 0 / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.3414, allocations: 47.84 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3414, allocations: 0 / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3414, allocations: 8 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3414, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3414, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.3421, allocations: 359.2 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.3422, allocations: 7.953 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3422, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3424, allocations: 35.92 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3424, allocations: 7.938 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3424, allocations: 4.016 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.3425, allocations: 124.9 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3425, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002579/0.3428, allocations: 23.89 kB / 1.334 GB, free: 9.309 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.0001725/0.343, allocations: 99.23 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.3436, allocations: 239.7 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3436, allocations: 0 / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3439, allocations: 123.9 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3441, allocations: 10.77 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.3449, allocations: 324.8 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.345, allocations: 83.66 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.345, allocations: 15.42 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.345, allocations: 4 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of Templates: time 0.003669/0.3487, allocations: 1.695 MB / 1.337 GB, free: 6.668 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/jenkins1/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: 11.549001372884959]