Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001463/0.001463, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001625/0.001625, allocations: 218.5 kB / 23.01 MB, free: 4.605 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.926/2.926, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001957/0.001957, allocations: 62.97 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2947, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002753/0.2975, allocations: 1.572 MB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2989, allocations: 0.8458 MB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.2989, allocations: 0 / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.2989, allocations: 3.938 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.299, allocations: 11.86 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.2994, allocations: 107.6 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2995, allocations: 59.73 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.2996, allocations: 11.98 kB / 1.357 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2998, allocations: 31.91 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.2998, allocations: 23.86 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2998, allocations: 7.938 kB / 1.357 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3, allocations: 71.94 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.3, allocations: 11.92 kB / 1.357 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.3, allocations: 23.88 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3002, allocations: 107.6 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3002, allocations: 0 / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3002, allocations: 4 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3002, allocations: 0 / 1.357 GB, free: 5.039 MB / 1.045 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.0004315/0.3007, allocations: 309.9 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3007, allocations: 12.03 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.3011, allocations: 44.83 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3014, allocations: 138.4 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3014, allocations: 384 / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3014, allocations: 4.375 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3017, allocations: 81.94 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3017, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3017, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.3017, allocations: 4 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.3019, allocations: 67.94 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3024, allocations: 295.8 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3026, allocations: 74.53 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3028, allocations: 36.92 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3028, allocations: 3.984 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3028, allocations: 34.56 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.3028, allocations: 0 / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000494/0.3033, allocations: 137.5 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.3034, allocations: 55.39 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.3035, allocations: 123.2 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3035, allocations: 25.7 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.3035, allocations: 96.02 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3036, allocations: 15.89 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3036, allocations: 21.7 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3037, allocations: 318.8 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3039, allocations: 35.97 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.304, allocations: 27.97 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.3042, allocations: 68.81 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3042, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002977/0.3045, allocations: 109.5 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3045, allocations: 8 kB / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3045, allocations: 0 / 1.359 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3045, allocations: 4 kB / 1.359 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3047, allocations: 15.98 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3047, allocations: 3.938 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3047, allocations: 7.984 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3048, allocations: 0 / 1.359 GB, free: 2.719 MB / 1.045 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 9.092e-05/0.3048, allocations: 129.6 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.3049, allocations: 7.953 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3049, allocations: 11.98 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3049, allocations: 0 / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3049, allocations: 4 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3049, allocations: 0 / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3051, allocations: 160.6 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3051, allocations: 4 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3052, allocations: 23.91 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3052, allocations: 336 / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3052, allocations: 4 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3052, allocations: 7.984 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3052, allocations: 0 / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3056, allocations: 203.4 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.3056, allocations: 7.984 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3056, allocations: 0 / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3057, allocations: 12 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3058, allocations: 3.984 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.3058, allocations: 4 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.3058, allocations: 102.3 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3058, allocations: 0 / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002562/0.3061, allocations: 31.86 kB / 1.36 GB, free: 1.945 MB / 1.045 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 (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 Backend phase and start with SimCode phase: time 0.0001719/0.3063, allocations: 119.2 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.3066, allocations: 75.88 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3066, allocations: 4 kB / 1.36 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3067, allocations: 31.97 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3069, allocations: 7.938 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3073, allocations: 220.9 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3076, allocations: 0.6807 MB / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.3077, allocations: 19.41 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.3077, allocations: 0 / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of Templates: time 0.002862/0.3105, allocations: 1.341 MB / 1.362 GB, free: 15.39 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time [Calling sys.exit(0), Time elapsed: 9.918219025013968]