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.001269/0.001269, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002863, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001077/0.001077, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002533, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9004/0.9004, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08289/0.9833, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.831/1.831, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4368/2.268, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.194e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002135/0.002147, allocations: 1.648 MB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.003131, allocations: 0.825 MB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.003177, allocations: 4 kB / 0.7321 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.003199, allocations: 5.344 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.003242, allocations: 10.06 kB / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.00653, allocations: 106 kB / 0.7322 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.00665, allocations: 57.92 kB / 0.7323 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.00672, allocations: 16.58 kB / 0.7323 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006848, allocations: 47.83 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.006908, allocations: 24.59 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.006923, allocations: 4.5 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.007072, allocations: 75.88 kB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.007086, allocations: 4.594 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.007107, allocations: 12.59 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.007261, allocations: 87.75 kB / 0.7325 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.007274, allocations: 0.6562 kB / 0.7325 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.007274, allocations: 0 / 0.7325 GB, free: 1.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.007287, allocations: 1.062 kB / 0.7325 GB, free: 1.527 MB / 0.698 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.0003902/0.007677, allocations: 300.1 kB / 0.7328 GB, free: 1.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.007707, allocations: 9.062 kB / 0.7328 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.008024, allocations: 119.7 kB / 0.7329 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.008165, allocations: 133.7 kB / 0.7331 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.008172, allocations: 384 / 0.7331 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.008186, allocations: 5.188 kB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.008323, allocations: 75.41 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.008329, allocations: 1.875 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.008338, allocations: 384 / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.008344, allocations: 3.938 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.539e-05/0.008389, allocations: 27.86 kB / 0.7332 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.008635, allocations: 185.1 kB / 0.7333 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.008725, allocations: 39.72 kB / 0.7334 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.00875, allocations: 14.61 kB / 0.7334 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.008763, allocations: 0 / 0.7334 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.008784, allocations: 34.59 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.008784, allocations: 0 / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.008928, allocations: 66.81 kB / 0.7335 GB, free: 436 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.009011, allocations: 51.41 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.009075, allocations: 127.3 kB / 0.7337 GB, free: 232 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.009086, allocations: 25.7 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.009115, allocations: 89.25 kB / 0.7338 GB, free: 108 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.009133, allocations: 7.906 kB / 0.7338 GB, free: 100 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.009171, allocations: 21.69 kB / 0.7338 GB, free: 72 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.003092/0.01226, allocations: 311.4 kB / 0.7341 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.01229, allocations: 12.52 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.01231, allocations: 12.91 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.01236, allocations: 29.05 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01236, allocations: 0.5312 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.46e-05/0.01245, allocations: 51.23 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01246, allocations: 4 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01247, allocations: 3.938 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.01247, allocations: 0 / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.01257, allocations: 21.19 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.01257, allocations: 0 / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.01261, allocations: 9.078 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.01262, allocations: 0 / 0.7342 GB, free: 15.61 MB / 0.7136 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.506e-05/0.01267, allocations: 114.7 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.0127, allocations: 7.984 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.01273, allocations: 20.67 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01273, allocations: 0 / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01273, allocations: 0.75 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.01274, allocations: 0 / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01285, allocations: 82.64 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.01285, allocations: 0 / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.01291, allocations: 25.38 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.01292, allocations: 7.891 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.01292, allocations: 0 / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.01293, allocations: 1.25 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01293, allocations: 7.938 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01293, allocations: 3.984 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.01303, allocations: 136.8 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.01305, allocations: 3.984 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.01311, allocations: 8 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.01314, allocations: 13.12 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01314, allocations: 7.984 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.03e-05/0.01317, allocations: 20.47 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01317, allocations: 1.031 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000203/0.01337, allocations: 31.88 kB / 0.7347 GB, free: 15.09 MB / 0.7136 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.000128/0.0135, allocations: 100.9 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.628e-05/0.01358, allocations: 35.61 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.01359, allocations: 8 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.01363, allocations: 16.84 kB / 0.7349 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.01381, allocations: 45.69 kB / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.01814, allocations: 182.5 kB / 0.7351 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.01817, allocations: 55.36 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.287e-05/0.01823, allocations: 19.31 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.01835, allocations: 55.36 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.01836, allocations: 2.438 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.005812/0.02417, allocations: 1.224 MB / 0.7364 GB, free: 13.37 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.594805266708136]