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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 114.9 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 489.3 MB / 0.7687 GB, free: 3.848 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001919/0.001919, allocations: 63.91 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8888, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002682/0.8915, allocations: 1.545 MB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.8927, allocations: 0.7607 MB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.539e-05/0.8928, allocations: 0.8125 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.8928, allocations: 4.688 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.8929, allocations: 15.8 kB / 1.265 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.8934, allocations: 87.59 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.08e-05/0.8935, allocations: 56.17 kB / 1.265 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.8936, allocations: 10.42 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.8937, allocations: 33.64 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.8937, allocations: 21.5 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.8938, allocations: 3.812 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.8939, allocations: 68.78 kB / 1.265 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.894, allocations: 10.84 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.894, allocations: 21.12 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.8942, allocations: 98.52 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8942, allocations: 0 / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8942, allocations: 0.625 kB / 1.265 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8942, allocations: 0 / 1.265 GB, free: 6.234 MB / 0.9981 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.0004094/0.8947, allocations: 372.9 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8947, allocations: 9.875 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.895, allocations: 34.64 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.8951, allocations: 189.3 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8951, allocations: 1.672 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.8951, allocations: 1.969 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.8954, allocations: 87.27 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8954, allocations: 0 / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.8954, allocations: 4.75 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8954, allocations: 0.7188 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.8957, allocations: 65.34 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.8962, allocations: 314.6 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.8964, allocations: 79.33 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.8966, allocations: 38.66 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.8966, allocations: 0.6562 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.8966, allocations: 36.16 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8966, allocations: 0 / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005283/0.8972, allocations: 136.8 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.8972, allocations: 53.53 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.8973, allocations: 120.2 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.8973, allocations: 30.8 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.8973, allocations: 87.7 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.8973, allocations: 10.02 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.8974, allocations: 23.12 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.8975, allocations: 318.9 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.8976, allocations: 31.34 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.8977, allocations: 40.89 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.898, allocations: 69.48 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.898, allocations: 0 / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003115/0.8983, allocations: 101.4 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8983, allocations: 5.531 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8984, allocations: 0.6562 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8984, allocations: 4.938 kB / 1.267 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.8985, allocations: 19.84 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.8985, allocations: 0.7969 kB / 1.267 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.8986, allocations: 15.2 kB / 1.267 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.8986, allocations: 3.484 kB / 1.267 GB, free: 4.344 MB / 0.9981 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 5.214e-05/0.8987, allocations: 119.9 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.8987, allocations: 7.266 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.8988, allocations: 11.77 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8988, allocations: 0.5156 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.8988, allocations: 0.6875 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.8988, allocations: 1.422 kB / 1.268 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.899, allocations: 194.8 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.899, allocations: 0.9375 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.8991, allocations: 23.73 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.8991, allocations: 0.6875 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.8991, allocations: 3.922 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8991, allocations: 0 / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8991, allocations: 0.8438 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.8995, allocations: 212.8 kB / 1.268 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.8995, allocations: 79.44 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.8995, allocations: 0.8438 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8997, allocations: 6.828 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.8997, allocations: 2.859 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.8997, allocations: 4.734 kB / 1.268 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.8998, allocations: 91.8 kB / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8998, allocations: 0 / 1.268 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002916/0.9001, allocations: 38.47 kB / 1.268 GB, free: 3.633 MB / 0.9981 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.000191/0.9003, allocations: 124.8 kB / 1.268 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.9006, allocations: 71.69 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9006, allocations: 0.9688 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.9008, allocations: 50.39 kB / 1.268 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.9011, allocations: 7.125 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.9015, allocations: 187.3 kB / 1.269 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.9016, allocations: 0.6822 MB / 1.269 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.9017, allocations: 21.95 kB / 1.269 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9017, allocations: 4.906 kB / 1.269 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.003452/0.9051, allocations: 1.298 MB / 1.271 GB, free: 2.5 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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: 10.693299113074318]