Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.001176/0.001176, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002725, allocations: 435.8 kB / 10.33 MB, free: 368 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.001118/0.001118, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002497, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9414/0.9414, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09259/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.666/2.666, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/2.911, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.464e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002843/0.002868, allocations: 1.556 MB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.003204, allocations: 183.5 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.00324, allocations: 7.938 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.003264, allocations: 0 / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.003295, allocations: 3.938 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.003476, allocations: 35.83 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.003548, allocations: 27.86 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.003634, allocations: 7.984 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.003716, allocations: 15.98 kB / 0.8201 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.003761, allocations: 7.938 kB / 0.8201 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.003783, allocations: 0 / 0.8201 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.003925, allocations: 47.94 kB / 0.8202 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.003938, allocations: 4 kB / 0.8202 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003957, allocations: 4 kB / 0.8202 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004114, allocations: 39.84 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.004132, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004134, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.004156, allocations: 0 / 0.8202 GB, free: 0.9609 MB / 0.7917 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.0004072/0.004563, allocations: 240.6 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.004603, allocations: 8.625 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.004637, allocations: 8.922 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.004731, allocations: 109.8 kB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.004742, allocations: 384 / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.004751, allocations: 8.375 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.004879, allocations: 54.89 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004887, allocations: 192 / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004893, allocations: 384 / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.004898, allocations: 384 / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.004928, allocations: 11.92 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.005149, allocations: 144.3 kB / 0.8208 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.005202, allocations: 22.61 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.005219, allocations: 8.797 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.005525, allocations: 72 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.00555, allocations: 30.56 kB / 0.8209 GB, free: 164 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.005552, allocations: 0 / 0.8209 GB, free: 164 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.00569, allocations: 41.69 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.005723, allocations: 55.34 kB / 0.821 GB, free: 48 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.005807, allocations: 102.7 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.00582, allocations: 25.7 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.005857, allocations: 88.11 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.005877, allocations: 7.953 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.005906, allocations: 17.66 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.005997, allocations: 314.8 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.006008, allocations: 3.938 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.006022, allocations: 0 / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.006055, allocations: 21.03 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006057, allocations: 0 / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.095e-05/0.006118, allocations: 29.7 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.006133, allocations: 8 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.006138, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.00615, allocations: 3.984 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.006219, allocations: 7.938 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006224, allocations: 4.188 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.006245, allocations: 4 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006251, allocations: 4 kB / 0.8216 GB, free: 15.37 MB / 0.8073 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 5.993e-05/0.006311, allocations: 117.9 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.006334, allocations: 3.984 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.00642, allocations: 41 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.006423, allocations: 4 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.006425, allocations: 3.938 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006428, allocations: 0 / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.006544, allocations: 65.91 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006546, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.006585, allocations: 7.984 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.006594, allocations: 11.98 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006596, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006601, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.006603, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.006605, allocations: 3.938 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.006705, allocations: 135.5 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-06/0.006714, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.006767, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.006797, allocations: 11.97 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.006801, allocations: 0 / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.56e-05/0.006816, allocations: 12.8 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006816, allocations: 4.031 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001659/0.006982, allocations: 8 kB / 0.822 GB, free: 14.89 MB / 0.8073 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 0.0001234/0.007106, allocations: 100.3 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.608e-05/0.007162, allocations: 16.8 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.007166, allocations: 0 / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.00718, allocations: 8.859 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.007319, allocations: 7.984 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.007651, allocations: 112.8 kB / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.007681, allocations: 55.22 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.007698, allocations: 3.906 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.007735, allocations: 51.38 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.007735, allocations: 0 / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.002132/0.009867, allocations: 0.6352 MB / 0.823 GB, free: 13.86 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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: 5.505188792012632]