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.0017/0.0017, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001836/0.001836, allocations: 166 kB / 22.46 MB, free: 5.375 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.493/1.493, allocations: 177.2 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.936/2.936, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.429e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003335/0.003369, allocations: 1.562 MB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004977, allocations: 0.7789 MB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.00506, allocations: 4 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.005091, allocations: 3.938 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.005178, allocations: 11.88 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.005695, allocations: 107.5 kB / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.005845, allocations: 59.67 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.005945, allocations: 15.98 kB / 1.003 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.006115, allocations: 35.91 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.006198, allocations: 31.91 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.006216, allocations: 0 / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.006387, allocations: 71.88 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.006403, allocations: 3.938 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.006444, allocations: 15.98 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.006691, allocations: 123.6 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.006695, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006696, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.006701, allocations: 0 / 1.003 GB, free: 4.469 MB / 0.9512 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.0005238/0.007225, allocations: 306 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.007266, allocations: 8.031 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.007772, allocations: 48.83 kB / 1.003 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.008058, allocations: 138.9 kB / 1.003 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.008072, allocations: 4.375 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.008086, allocations: 384 / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.008368, allocations: 86.14 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008379, allocations: 192 / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.008392, allocations: 384 / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.008402, allocations: 11.88 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.008681, allocations: 59.94 kB / 1.004 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.009167, allocations: 256.6 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.009452, allocations: 78.41 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.009596, allocations: 32.94 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.009621, allocations: 4 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.009657, allocations: 42.48 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.009658, allocations: 0 / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005677/0.01023, allocations: 133.6 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.01027, allocations: 51.41 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01039, allocations: 132.3 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01041, allocations: 29.7 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.01047, allocations: 88.14 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.0105, allocations: 7.906 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.01055, allocations: 25.7 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.01069, allocations: 322.8 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.01083, allocations: 27.97 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.01096, allocations: 27.98 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.01124, allocations: 69.09 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01124, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003379/0.01158, allocations: 109.5 kB / 1.005 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.0116, allocations: 5.719 kB / 1.005 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.0116, allocations: 4 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01162, allocations: 0 / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01177, allocations: 31.91 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01178, allocations: 0 / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.01187, allocations: 7.938 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01188, allocations: 7.984 kB / 1.005 GB, free: 2.188 MB / 0.9512 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.747e-05/0.01198, allocations: 106.4 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.01202, allocations: 15.89 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.01207, allocations: 8 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01207, allocations: 0 / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01208, allocations: 7.984 kB / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01208, allocations: 0 / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01226, allocations: 133.2 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01226, allocations: 0 / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.01238, allocations: 15.97 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01238, allocations: 0 / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.0124, allocations: 11.92 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.0124, allocations: 0 / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0124, allocations: 0 / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.01281, allocations: 203.4 kB / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.01282, allocations: 7.938 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01284, allocations: 7.938 kB / 1.005 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01296, allocations: 4 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.013, allocations: 7.922 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01301, allocations: 0 / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.01308, allocations: 99.27 kB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01308, allocations: 0 / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003351/0.01341, allocations: 35.92 kB / 1.006 GB, free: 1.477 MB / 0.9512 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.0002901/0.0137, allocations: 119.1 kB / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.01409, allocations: 71.94 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.0141, allocations: 0 / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01425, allocations: 43.91 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01456, allocations: 4 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.01514, allocations: 160.8 kB / 1.006 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.88e-05/0.01523, allocations: 75.23 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.01532, allocations: 15.98 kB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.01538, allocations: 16.48 kB / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.01538, allocations: 0 / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of Templates: time 0.004804/0.02018, allocations: 1.122 MB / 1.007 GB, free: 15.8 MB / 0.9669 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.152466379106045]