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.0009868/0.0009868, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009344/0.0009344, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8448/0.8448, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 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 1.721/1.721, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.89e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001787/0.001806, allocations: 1.54 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009216/0.002728, allocations: 0.7874 MB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.81e-05/0.002786, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.002816, allocations: 3.938 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.002879, allocations: 19.8 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003222, allocations: 99.56 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003323, allocations: 55.73 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.003421, allocations: 11.98 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.003544, allocations: 47.83 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.003598, allocations: 23.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.003612, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.00372, allocations: 71.88 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.003733, allocations: 7.984 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.003755, allocations: 15.94 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.003919, allocations: 115.7 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003921, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.783e-06/0.003923, allocations: 3.984 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003927, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 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.0003715/0.004299, allocations: 309.9 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.004335, allocations: 13.34 kB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.004601, allocations: 44.83 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.004793, allocations: 141.6 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.004803, allocations: 384 / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.004815, allocations: 4.375 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.004988, allocations: 86.19 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.004997, allocations: 4.125 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005008, allocations: 384 / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.005014, allocations: 7.938 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.005155, allocations: 59.95 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.005495, allocations: 252.6 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.005653, allocations: 78.52 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.005725, allocations: 36.92 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.005744, allocations: 3.938 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005768, allocations: 38.5 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.005769, allocations: 4 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003153/0.006084, allocations: 133.6 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.006117, allocations: 55.41 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.006194, allocations: 121.8 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.006206, allocations: 25.7 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.006249, allocations: 96.08 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.006271, allocations: 7.953 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.006307, allocations: 21.64 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.006393, allocations: 322.8 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.006464, allocations: 31.97 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.006526, allocations: 31.91 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.00666, allocations: 68.81 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006662, allocations: 4 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001709/0.006833, allocations: 105.5 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.006847, allocations: 6.031 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006851, allocations: 0 / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.006863, allocations: 0 / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.006944, allocations: 23.97 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.006949, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.006984, allocations: 7.984 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.006993, allocations: 4 kB / 1.006 GB, free: 7.926 MB / 0.9636 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.9e-05/0.007052, allocations: 113.8 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.007072, allocations: 11.89 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.007113, allocations: 15.98 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007115, allocations: 4 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007119, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007122, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.007233, allocations: 133.2 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007233, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.007277, allocations: 11.98 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007278, allocations: 0 / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.00729, allocations: 11.92 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.007291, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007292, allocations: 0 / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.007496, allocations: 203.4 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-06/0.007506, allocations: 8.266 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.007527, allocations: 15.88 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.007578, allocations: 11.98 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.007612, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.00762, allocations: 11.97 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.007661, allocations: 98.08 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007661, allocations: 4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001765/0.007838, allocations: 27.94 kB / 1.006 GB, free: 7.195 MB / 0.9636 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.000155/0.007993, allocations: 123.1 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.00819, allocations: 71.94 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.008191, allocations: 0 / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.008263, allocations: 39.91 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.008449, allocations: 15.91 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.008803, allocations: 182.5 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.008856, allocations: 71.33 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.008896, allocations: 16.48 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.008896, allocations: 4 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of Templates: time 0.002346/0.01124, allocations: 1.38 MB / 1.008 GB, free: 5.242 MB / 0.9636 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] "" 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: 6.4351133005693555]