Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.001783/0.001783, allocations: 108.2 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.001993/0.001993, allocations: 212.4 kB / 23 MB, free: 4.969 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.117/3.117, 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.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [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.002024/0.002024, allocations: 72.08 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002693/0.3219, allocations: 1.545 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3232, allocations: 0.7714 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.3233, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.3233, allocations: 11.92 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.3234, allocations: 19.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.3237, allocations: 99.64 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3238, allocations: 59.72 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.3239, allocations: 11.98 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.324, allocations: 31.92 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.3241, allocations: 27.84 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3241, allocations: 8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3243, allocations: 71.94 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.3243, allocations: 4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.3243, allocations: 23.86 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3245, allocations: 111.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3245, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3245, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.3245, allocations: 0 / 1.33 GB, free: 14.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004612/0.325, allocations: 305.9 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.325, allocations: 12.03 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.3255, allocations: 44.84 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.3257, allocations: 138.4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3257, allocations: 384 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3257, allocations: 4.375 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.326, allocations: 85.94 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.326, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.326, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.326, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.3263, allocations: 67.88 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.3268, allocations: 244.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.3271, allocations: 78.47 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3272, allocations: 36.92 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3272, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3273, allocations: 34.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3273, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005608/0.3278, allocations: 141.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3279, allocations: 55.41 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.328, allocations: 123.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.328, allocations: 29.64 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.328, allocations: 92.12 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3281, allocations: 15.84 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.3281, allocations: 21.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3283, allocations: 322.8 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3284, allocations: 35.91 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3285, allocations: 27.97 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3288, allocations: 72.75 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3288, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.3292, allocations: 105.9 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3292, allocations: 5.719 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3292, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3292, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3293, allocations: 19.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3293, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.3294, allocations: 11.94 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3295, allocations: 7.984 kB / 1.332 GB, free: 11.91 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 (3): * Single equations (assignments): 3 * 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 8.577e-05/0.3295, allocations: 113.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3296, allocations: 7.984 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.3296, allocations: 11.98 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3296, allocations: 3.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3296, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.3296, allocations: 11.95 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3297, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3298, allocations: 7.984 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3298, allocations: 7.922 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004457/0.3303, allocations: 180.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004237/0.3307, allocations: 282.7 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000148/0.3308, allocations: 31.97 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.3309, allocations: 104.3 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.3309, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.3315, allocations: 155.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005308/0.332, allocations: 0.6019 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of Templates: time 0.004615/0.3366, allocations: 1.753 MB / 1.335 GB, free: 8.559 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.61703636799939]