Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.00114/0.00114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002665, 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.001107/0.001107, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002465, 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.9412/0.9412, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09181/1.033, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.891/1.891, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4764/2.367, 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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.734e-05, allocations: 8.781 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001721/0.001739, allocations: 1.567 MB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.00244, allocations: 0.609 MB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.002492, allocations: 4 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.002515, allocations: 4.922 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.002548, allocations: 8.25 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.002734, allocations: 52.69 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.002828, allocations: 27.88 kB / 0.7316 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.002911, allocations: 3.984 kB / 0.7316 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.00305, allocations: 46.36 kB / 0.7316 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.003097, allocations: 10.56 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.003109, allocations: 1.25 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.003227, allocations: 59.94 kB / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.003238, allocations: 5.312 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.003253, allocations: 8.047 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.003373, allocations: 64.61 kB / 0.7318 GB, free: 2.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.003384, allocations: 4 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003385, allocations: 0.5312 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.003397, allocations: 1.719 kB / 0.7318 GB, free: 2.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003085/0.003705, allocations: 248.5 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.003733, allocations: 12.03 kB / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.003858, allocations: 90.03 kB / 0.7321 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.003969, allocations: 126.5 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.003975, allocations: 384 / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-06/0.00398, allocations: 9.062 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.004054, allocations: 46.95 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00406, allocations: 1.719 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.004065, allocations: 384 / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.004071, allocations: 7.938 kB / 0.7323 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.00409, allocations: 4 kB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.004242, allocations: 145.2 kB / 0.7324 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.004282, allocations: 22.52 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.004294, allocations: 9.828 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.004547, allocations: 85.67 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.004565, allocations: 31.06 kB / 0.7326 GB, free: 1.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004566, allocations: 4 kB / 0.7326 GB, free: 1.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.516e-05/0.004661, allocations: 38.72 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.004692, allocations: 59.34 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.004745, allocations: 115.2 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.004753, allocations: 26.83 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.004782, allocations: 88.12 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.004799, allocations: 11.95 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004822, allocations: 18.42 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.004891, allocations: 314.8 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-06/0.004899, allocations: 8.469 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.004907, allocations: 0.9375 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.004926, allocations: 8.859 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004928, allocations: 0.5938 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.824e-05/0.004966, allocations: 42.44 kB / 0.7333 GB, free: 388 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.004978, allocations: 6.344 kB / 0.7333 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004982, allocations: 4.5 kB / 0.7333 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.004989, allocations: 5.219 kB / 0.7333 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.005038, allocations: 7.984 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.005041, allocations: 3.984 kB / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.005053, allocations: 0 / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.005056, allocations: 0.7812 kB / 0.7333 GB, free: 364 kB / 0.698 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 (2): * Single equations (assignments): 2 * 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 4.768e-05/0.005104, allocations: 110.7 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.005116, allocations: 0 / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.00518, allocations: 50.64 kB / 0.7334 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.005183, allocations: 3.938 kB / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005184, allocations: 0 / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005187, allocations: 0 / 0.7335 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.586e-05/0.005263, allocations: 75.12 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005264, allocations: 0 / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.005283, allocations: 11.92 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-06/0.005287, allocations: 1.156 kB / 0.7335 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005289, allocations: 4 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-06/0.005292, allocations: 0 / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005294, allocations: 5.188 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005295, allocations: 0 / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.697e-05/0.005372, allocations: 131.5 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.005381, allocations: 5.031 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.005409, allocations: 4 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.00543, allocations: 3.938 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005432, allocations: 4.516 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.272e-05/0.005445, allocations: 18.44 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005445, allocations: 0 / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001242/0.005569, allocations: 19.88 kB / 0.7337 GB, free: 15.87 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 (2): * Single equations (assignments): 2 * 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 9.821e-05/0.005667, allocations: 97.5 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.952e-05/0.005717, allocations: 16.84 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.005721, allocations: 4.594 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.005733, allocations: 9.609 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.514e-05/0.005828, allocations: 4 kB / 0.7339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.006398, allocations: 133.9 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.006425, allocations: 57.3 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.006442, allocations: 7.984 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.006471, allocations: 47.38 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of SimCode: time 4.3e-07/0.006472, allocations: 4 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.001949/0.008421, allocations: 0.7515 MB / 0.7348 GB, free: 14.73 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.83185298088938]