Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001298/0.001298, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001423/0.001423, allocations: 219 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.193/3.193, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.16 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3817, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001932/0.3836, allocations: 0.6288 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.3857, allocations: 1.424 MB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.3858, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.951e-05/0.3858, allocations: 3.984 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.3859, allocations: 3.938 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.3866, allocations: 223.5 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.3867, allocations: 35.91 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.3867, allocations: 8 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.3868, allocations: 11.98 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.3868, allocations: 23.91 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3868, allocations: 0 / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.3873, allocations: 259.6 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.3873, allocations: 11.94 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.3874, allocations: 19.91 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.3877, allocations: 215.4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.798e-06/0.3877, allocations: 3.984 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004534/0.3882, allocations: 329 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3882, allocations: 12.03 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.3882, allocations: 4.891 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3884, allocations: 110.5 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3884, allocations: 4.375 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3884, allocations: 4.375 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3886, allocations: 119.5 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3886, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3886, allocations: 4 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3886, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.516e-05/0.3887, allocations: 69.66 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.3888, allocations: 105.3 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3889, allocations: 88.28 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.389, allocations: 66.53 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.389, allocations: 7.984 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3891, allocations: 38.5 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3891, allocations: 0 / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003894/0.3895, allocations: 258.8 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3895, allocations: 85.09 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.3896, allocations: 109.8 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3896, allocations: 25.7 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3897, allocations: 88.14 kB / 1.369 GB, free: 9.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.3897, allocations: 23.84 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3898, allocations: 17.72 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3899, allocations: 318.8 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.39, allocations: 65.67 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.3901, allocations: 78.7 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3902, allocations: 140.2 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3902, allocations: 0 / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000215/0.3904, allocations: 185 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.3905, allocations: 37.69 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3905, allocations: 3.938 kB / 1.37 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3905, allocations: 4 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.3905, allocations: 0 / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3905, allocations: 3.938 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3906, allocations: 11.92 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3906, allocations: 8.062 kB / 1.37 GB, free: 8.062 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001174/0.3907, allocations: 152.2 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.3908, allocations: 4 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.3908, allocations: 12.25 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3908, allocations: 0 / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3908, allocations: 4 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3908, allocations: 0 / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.3909, allocations: 121.2 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3909, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.3909, allocations: 0 / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3909, allocations: 7.984 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3909, allocations: 8 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3909, allocations: 7.875 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3909, allocations: 0 / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3912, allocations: 225.1 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3912, allocations: 11.94 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3912, allocations: 0 / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.3912, allocations: 11.94 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.3913, allocations: 0 / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3913, allocations: 7.984 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.3913, allocations: 99.25 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002827/0.3916, allocations: 79.84 kB / 1.37 GB, free: 7.242 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003143/0.3919, allocations: 155.1 kB / 1.371 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3922, allocations: 226.7 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3922, allocations: 0 / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3924, allocations: 153 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3925, allocations: 9.875 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.3929, allocations: 224.1 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.393, allocations: 71.47 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.393, allocations: 7.438 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.393, allocations: 4 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of Templates: time 0.003614/0.3966, allocations: 1.731 MB / 1.373 GB, free: 4.582 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.277672580908984]