Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008131/0.0008131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001886, 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.001066/0.001066, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002472, 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 1.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09892/1.157, 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.941/1.941, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5719/2.512, allocations: 123.3 MB / 0.728 GB, free: 5.797 MB / 0.698 GB " [Timeout remaining time 177] 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7294 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.937e-05, allocations: 8.922 kB / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001313/0.001342, allocations: 0.6743 MB / 0.7301 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.002808, allocations: 1.485 MB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.002838, allocations: 0 / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.00288, allocations: 3.938 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.319e-05/0.002904, allocations: 0.9844 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.00347, allocations: 188.8 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.003558, allocations: 38.5 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.003595, allocations: 3.984 kB / 0.7317 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.00365, allocations: 26.94 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.0037, allocations: 21.62 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.003711, allocations: 0 / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.004107, allocations: 286.2 kB / 0.732 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.004145, allocations: 10.19 kB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.004177, allocations: 6.984 kB / 0.7321 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.004453, allocations: 218 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.584e-05/0.004469, allocations: 0 / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00447, allocations: 2.438 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.004485, allocations: 0 / 0.7323 GB, free: 1.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003536/0.004839, allocations: 318.6 kB / 0.7326 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.004868, allocations: 12.03 kB / 0.7326 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.004901, allocations: 4.938 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.004985, allocations: 114.6 kB / 0.7327 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.004993, allocations: 384 / 0.7327 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.005002, allocations: 9.531 kB / 0.7327 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.005105, allocations: 82.75 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.005111, allocations: 192 / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.005118, allocations: 5.25 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.005122, allocations: 3.938 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.005158, allocations: 46.5 kB / 0.7328 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.301e-05/0.005221, allocations: 63.81 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.005274, allocations: 64.83 kB / 0.733 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.005303, allocations: 50.73 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-06/0.005307, allocations: 1.625 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.005326, allocations: 38.55 kB / 0.7331 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.005327, allocations: 0 / 0.7331 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001525/0.005479, allocations: 170.7 kB / 0.7332 GB, free: 436 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.005503, allocations: 52.62 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.005571, allocations: 118.7 kB / 0.7334 GB, free: 240 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.005583, allocations: 25.7 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.005604, allocations: 84.95 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.005638, allocations: 27.78 kB / 0.7335 GB, free: 92 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.005668, allocations: 18.69 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.005756, allocations: 322.8 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.005793, allocations: 52.52 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.005819, allocations: 42.22 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.005885, allocations: 103.9 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005887, allocations: 0 / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.721e-05/0.005984, allocations: 130 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.006023, allocations: 41.69 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006029, allocations: 0 / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.006036, allocations: 2.062 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-06/0.00604, allocations: 0 / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.006043, allocations: 3.984 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.006104, allocations: 11.88 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.00612, allocations: 8.625 kB / 0.7342 GB, free: 15.3 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 (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 6.863e-05/0.006188, allocations: 147.6 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.006199, allocations: 11.98 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.006215, allocations: 8.438 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006217, allocations: 4.969 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.00622, allocations: 3.984 kB / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006222, allocations: 0 / 0.7344 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.063e-05/0.006273, allocations: 74.5 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006274, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.006275, allocations: 4.578 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.006282, allocations: 4.984 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006284, allocations: 0 / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00629, allocations: 7.938 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00629, allocations: 0.6875 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006291, allocations: 0 / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.006413, allocations: 187.8 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.006423, allocations: 0 / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.006443, allocations: 8 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.006456, allocations: 7.984 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.006462, allocations: 4 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.248e-05/0.006475, allocations: 10.08 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006475, allocations: 4 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001975/0.006672, allocations: 71.86 kB / 0.7348 GB, free: 14.68 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 (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.0002152/0.006888, allocations: 157 kB / 0.7349 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.007042, allocations: 188.3 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.007046, allocations: 0.6562 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.503e-05/0.007101, allocations: 125.9 kB / 0.7352 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.627e-05/0.007177, allocations: 25.86 kB / 0.7352 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.007405, allocations: 176 kB / 0.7354 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.007437, allocations: 59.34 kB / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.871e-06/0.007443, allocations: 0 / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.007514, allocations: 67.86 kB / 0.7355 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.007515, allocations: 3.219 kB / 0.7355 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.004106/0.01162, allocations: 2.374 MB / 0.7378 GB, free: 11.53 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.133947539143264]