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.001681/0.001681, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002036/0.002036, allocations: 215.4 kB / 23 MB, free: 4.965 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.092/3.092, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.001974/0.001974, allocations: 72.36 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002917/0.3675, allocations: 1.595 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3686, allocations: 0.6118 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.3687, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.3687, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.3688, allocations: 7.875 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3692, allocations: 67.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3693, allocations: 47.84 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.3694, allocations: 15.98 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3695, allocations: 35.84 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.3696, allocations: 27.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3696, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3697, allocations: 63.94 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.3698, allocations: 15.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.3698, allocations: 23.86 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.37, allocations: 103.5 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.37, allocations: 4 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.37, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.37, allocations: 4 kB / 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.0005657/0.3706, allocations: 327.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3706, allocations: 8.031 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.3717, allocations: 220.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.372, allocations: 152.4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.3721, allocations: 63.95 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3721, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.3726, allocations: 169.5 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3726, allocations: 7.938 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3726, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3726, allocations: 7.984 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.3733, allocations: 231.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.3742, allocations: 447.6 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.3748, allocations: 242.3 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.3752, allocations: 120.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3752, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3752, allocations: 30.56 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3752, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.00111/0.3763, allocations: 373.4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.3763, allocations: 51.41 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3765, allocations: 160.2 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3765, allocations: 25.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.3766, allocations: 112 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3766, allocations: 3.953 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.3767, allocations: 29.69 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3768, allocations: 314.8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.3771, allocations: 115.9 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.3775, allocations: 111.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.378, allocations: 196.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.378, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006748/0.3787, allocations: 261.4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3787, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3787, allocations: 4.031 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3787, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.379, allocations: 55.78 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.379, allocations: 3.938 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.3792, allocations: 31.94 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3792, allocations: 7.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.0001001/0.3793, allocations: 117.8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3793, allocations: 7.953 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3793, allocations: 11.95 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3794, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3794, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3794, allocations: 11.89 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.3794, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3796, allocations: 35.94 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3796, allocations: 11.92 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008426/0.3805, allocations: 360.7 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007605/0.3813, allocations: 430.5 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003326/0.3816, allocations: 119.9 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.3817, allocations: 116.8 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of Backend: time 3.5e-07/0.3817, allocations: 0 / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007615/0.3824, allocations: 218.2 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006228/0.3831, allocations: 0.6373 MB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of Templates: time 0.005735/0.3888, allocations: 2.531 MB / 1.338 GB, free: 5.703 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: 8.456972660002066]