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.001174/0.001174, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002757, allocations: 449.7 kB / 10.37 MB, free: 328 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.001099/0.001099, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002477, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9309/0.9309, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09461/1.026, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.827/1.827, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4436/2.271, allocations: 123.3 MB / 0.728 GB, free: 5.828 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.292e-06/1.292e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.221e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00172/0.001732, allocations: 1.646 MB / 0.731 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.002707, allocations: 0.8173 MB / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.002746, allocations: 5.406 kB / 0.7318 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.002768, allocations: 7.922 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.002806, allocations: 11.34 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.003023, allocations: 108.5 kB / 0.7319 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.003111, allocations: 59.97 kB / 0.7319 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.003181, allocations: 15.92 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.003293, allocations: 51.83 kB / 0.732 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.003347, allocations: 16.55 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.00336, allocations: 1.062 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.003496, allocations: 83.8 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.003506, allocations: 4 kB / 0.7321 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.003528, allocations: 16.75 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.003667, allocations: 87.73 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.003681, allocations: 0.5312 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003681, allocations: 0.9375 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.003694, allocations: 0 / 0.7322 GB, free: 1.633 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.0003368/0.004031, allocations: 296.7 kB / 0.7325 GB, free: 1.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.004061, allocations: 8.031 kB / 0.7325 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.00432, allocations: 124.2 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.004441, allocations: 133.7 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.004448, allocations: 5.031 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004459, allocations: 4.375 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.004583, allocations: 77.53 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.004589, allocations: 192 / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.004596, allocations: 384 / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.0046, allocations: 3.938 kB / 0.7328 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.649e-05/0.004637, allocations: 19.97 kB / 0.7328 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.004859, allocations: 185.3 kB / 0.733 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.004938, allocations: 39.98 kB / 0.7331 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.004959, allocations: 12.86 kB / 0.7331 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.004975, allocations: 4.75 kB / 0.7331 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004994, allocations: 34.56 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004995, allocations: 0.6875 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001207/0.005115, allocations: 63.45 kB / 0.7332 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.00514, allocations: 51.41 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.005196, allocations: 122.7 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.005206, allocations: 29.64 kB / 0.7334 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.005233, allocations: 88.12 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.005252, allocations: 16.86 kB / 0.7335 GB, free: 204 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.005279, allocations: 17.7 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.005354, allocations: 319.3 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.005373, allocations: 9.172 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.005392, allocations: 12 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.005437, allocations: 21.38 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005438, allocations: 0 / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.148e-05/0.0055, allocations: 54.33 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005512, allocations: 4.531 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005516, allocations: 4.875 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.005524, allocations: 4 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.005607, allocations: 21 kB / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.00561, allocations: 0 / 0.7339 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.005637, allocations: 7.984 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.005644, allocations: 0.625 kB / 0.7339 GB, free: 15.71 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.062e-05/0.005695, allocations: 107.6 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.005712, allocations: 7.984 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.005741, allocations: 15.94 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005743, allocations: 1.219 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.005744, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005747, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/0.005836, allocations: 77.88 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.005838, allocations: 4.734 kB / 0.7341 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.005884, allocations: 24.59 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.005891, allocations: 3.953 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005892, allocations: 0.75 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.005899, allocations: 8 kB / 0.7342 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.005901, allocations: 5.625 kB / 0.7342 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005902, allocations: 0 / 0.7342 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.005995, allocations: 147.8 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.006007, allocations: 4.047 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.006049, allocations: 8.469 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.006075, allocations: 8.969 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.00608, allocations: 3.984 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.572e-05/0.006096, allocations: 25.08 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006096, allocations: 0 / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001472/0.006243, allocations: 35.86 kB / 0.7344 GB, free: 15.2 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.0001173/0.006361, allocations: 106 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.006435, allocations: 28.83 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.006441, allocations: 4 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.006466, allocations: 23.59 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.006598, allocations: 15.11 kB / 0.7346 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.007658, allocations: 170.2 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.007689, allocations: 55.36 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.007737, allocations: 14.83 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.007792, allocations: 56.23 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/0.007793, allocations: 0 / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.002511/0.0103, allocations: 1.227 MB / 0.736 GB, free: 13.52 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6337650222703815]