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.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.001751/0.001751, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002072/0.002072, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.688/2.688, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002164/0.002164, allocations: 67.91 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 169.9 MB / 1.117 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002923/0.337, allocations: 1.603 MB / 1.119 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3382, allocations: 0.6157 MB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.3383, allocations: 4 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/0.3383, allocations: 3.938 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.3384, allocations: 11.88 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.3387, allocations: 59.86 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3389, allocations: 51.84 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.3389, allocations: 8 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3391, allocations: 39.72 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.3391, allocations: 23.91 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3392, allocations: 8 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3393, allocations: 51.95 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.3394, allocations: 19.92 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.3394, allocations: 23.8 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.3396, allocations: 103.6 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3396, allocations: 3.938 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3396, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3397, allocations: 0 / 1.12 GB, free: 15.84 MB / 1.076 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.0006783/0.3403, allocations: 321.8 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3404, allocations: 16.02 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3414, allocations: 212.5 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3416, allocations: 153.2 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.3417, allocations: 63.95 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3417, allocations: 11.94 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3422, allocations: 177.5 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3422, allocations: 0 / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3422, allocations: 0 / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3422, allocations: 0 / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006443/0.3429, allocations: 243.7 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.3438, allocations: 451.6 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3445, allocations: 234.3 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.3448, allocations: 120.8 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3448, allocations: 7.938 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3449, allocations: 34.56 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3449, allocations: 0 / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.001291/0.3462, allocations: 365.3 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3462, allocations: 51.41 kB / 1.122 GB, free: 13.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3464, allocations: 158.4 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3464, allocations: 25.7 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3465, allocations: 112.2 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3465, allocations: 3.953 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.3466, allocations: 21.7 kB / 1.123 GB, free: 12.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3468, allocations: 322.8 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.3471, allocations: 111.9 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.3474, allocations: 119.8 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.3479, allocations: 196.7 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3479, allocations: 0 / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000678/0.3486, allocations: 257.4 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3486, allocations: 6.656 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3486, allocations: 3.938 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3487, allocations: 7.938 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3489, allocations: 47.95 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3489, allocations: 7.922 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3491, allocations: 35.94 kB / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3491, allocations: 4 kB / 1.124 GB, free: 11.83 MB / 1.076 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.0001104/0.3492, allocations: 117.8 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3492, allocations: 11.95 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.3493, allocations: 15.92 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3493, allocations: 0 / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/0.3493, allocations: 7.922 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3493, allocations: 0 / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3495, allocations: 185.3 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3495, allocations: 0 / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.3497, allocations: 39.92 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3497, allocations: 0 / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3497, allocations: 11.98 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3497, allocations: 0 / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3497, allocations: 0 / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007342/0.3505, allocations: 355.2 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.3505, allocations: 7.953 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3505, allocations: 4 kB / 1.124 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3507, allocations: 31.94 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3508, allocations: 15.86 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3508, allocations: 0 / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001112/0.3509, allocations: 125.3 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3509, allocations: 0 / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002848/0.3512, allocations: 27.89 kB / 1.125 GB, free: 10.84 MB / 1.076 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.000179/0.3514, allocations: 103.3 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00071/0.3521, allocations: 231.7 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3521, allocations: 0 / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.3524, allocations: 119.9 kB / 1.125 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3526, allocations: 8 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.3533, allocations: 291.2 kB / 1.125 GB, free: 10.06 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.3535, allocations: 87.59 kB / 1.125 GB, free: 9.949 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.178e-05/0.3536, allocations: 20 kB / 1.125 GB, free: 9.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.3537, allocations: 20.47 kB / 1.126 GB, free: 9.91 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.3537, allocations: 4 kB / 1.126 GB, free: 9.906 MB / 1.076 GB Notification: Performance of Templates: time 0.004456/0.3581, allocations: 1.304 MB / 1.127 GB, free: 8.609 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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: 8.505914276931435]