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.001311/0.001311, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001441/0.001441, allocations: 209 kB / 22.99 MB, free: 4.957 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.002176/0.002176, allocations: 67.62 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002939/0.3239, allocations: 1.603 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3251, allocations: 0.6118 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3251, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.228e-05/0.3252, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.067e-05/0.3253, allocations: 11.92 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3256, allocations: 59.81 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.3257, allocations: 59.77 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.3258, allocations: 12 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3259, allocations: 31.86 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.326, allocations: 31.83 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.326, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3262, allocations: 59.95 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.3262, allocations: 23.91 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3263, allocations: 19.88 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3265, allocations: 103.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3265, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3265, allocations: 4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3265, allocations: 0 / 1.33 GB, free: 14.36 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.000576/0.327, allocations: 329.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3271, allocations: 8.031 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3282, allocations: 220.4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3284, allocations: 156 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.3285, allocations: 59.95 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3285, allocations: 7.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.329, allocations: 173.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.329, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.329, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.329, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.3297, allocations: 239.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.3305, allocations: 455.5 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.3312, allocations: 238.3 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.3315, allocations: 116.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3315, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3316, allocations: 30.56 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3316, allocations: 3.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.001085/0.3327, allocations: 369.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3327, allocations: 51.41 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3329, allocations: 164.2 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3329, allocations: 25.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.333, allocations: 104.1 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.333, allocations: 3.953 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.333, allocations: 25.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3332, allocations: 318.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.3335, allocations: 115.9 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.3338, allocations: 111.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.3344, allocations: 200.6 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3344, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006967/0.3351, allocations: 257.4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3352, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3352, allocations: 4.031 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3352, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3354, allocations: 43.91 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3354, allocations: 3.938 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3356, allocations: 39.94 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3356, allocations: 3.984 kB / 1.333 GB, free: 10.36 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.0001085/0.3357, allocations: 117.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3358, allocations: 7.938 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.3358, allocations: 11.95 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3358, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3358, allocations: 7.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3358, allocations: 3.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3361, allocations: 185.2 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3361, allocations: 7.938 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.3363, allocations: 47.92 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3363, allocations: 3.938 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3363, allocations: 3.984 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3363, allocations: 0 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3363, allocations: 0 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.3371, allocations: 351.2 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.3371, allocations: 11.95 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3371, allocations: 0 / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.3373, allocations: 43.95 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3374, allocations: 3.938 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.3374, allocations: 3.984 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001086/0.3375, allocations: 125.5 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3375, allocations: 0 / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002703/0.3377, allocations: 23.89 kB / 1.334 GB, free: 9.355 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.0001867/0.3379, allocations: 105.6 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007125/0.3386, allocations: 231.7 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3386, allocations: 4.062 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.339, allocations: 119.9 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3392, allocations: 5.859 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.34, allocations: 307.1 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.876e-05/0.3401, allocations: 75.61 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.3402, allocations: 27.98 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.3402, allocations: 15.42 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3402, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004212/0.3444, allocations: 1.386 MB / 1.336 GB, free: 7.051 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 -s gbode -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: 8.635640006003086]