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.001691/0.001691, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.001572/0.001572, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.49 GB / 0.7915 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002073/0.002073, allocations: 71.45 kB / 1.149 GB, free: 26.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001903/0.3877, allocations: 0.6281 MB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3899, allocations: 1.494 MB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.3899, allocations: 0 / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.488e-05/0.3899, allocations: 3.938 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.39, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.3907, allocations: 203.5 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.3908, allocations: 35.97 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.3908, allocations: 4 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.3909, allocations: 19.92 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.3909, allocations: 31.89 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3909, allocations: 0 / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.3914, allocations: 263.6 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.3914, allocations: 0 / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.3914, allocations: 23.86 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3918, allocations: 211.5 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3918, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3918, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3918, allocations: 3.984 kB / 1.324 GB, free: 15.94 MB / 1.029 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.0004738/0.3922, allocations: 404.7 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3923, allocations: 15.83 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3923, allocations: 4.938 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3925, allocations: 176.3 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3925, allocations: 4.375 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3925, allocations: 8.312 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3926, allocations: 73.97 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3927, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3927, allocations: 4 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.3927, allocations: 7.984 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.3927, allocations: 35.97 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.3929, allocations: 169.5 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.393, allocations: 50.55 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.3931, allocations: 36.88 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.3931, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3931, allocations: 46.48 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.3931, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003495/0.3935, allocations: 191.2 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3935, allocations: 81.11 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.3936, allocations: 113.8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3936, allocations: 29.7 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.3937, allocations: 80.14 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.3937, allocations: 23.84 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3938, allocations: 17.72 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3939, allocations: 322.9 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.394, allocations: 35.97 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.394, allocations: 35.98 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3942, allocations: 140.4 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3942, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002162/0.3944, allocations: 159.2 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.3945, allocations: 45.62 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3945, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3945, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3945, allocations: 4.062 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3945, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3946, allocations: 15.92 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3947, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 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.0001421/0.3948, allocations: 143.5 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.3948, allocations: 11.89 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.3948, allocations: 12.38 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3948, allocations: 0 / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3948, allocations: 0 / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3948, allocations: 4 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.395, allocations: 165.6 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.395, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.395, allocations: 4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.395, allocations: 3.938 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.395, allocations: 3.938 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.395, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.395, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3953, allocations: 202.7 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.3953, allocations: 88.98 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3954, allocations: 8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.3954, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.3954, allocations: 4 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.3954, allocations: 11.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.3955, allocations: 83.91 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3955, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003377/0.3958, allocations: 79.86 kB / 1.327 GB, free: 12.46 MB / 1.029 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.0003801/0.3962, allocations: 163.1 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.3965, allocations: 163.2 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3965, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3966, allocations: 123.3 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.3968, allocations: 5.875 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3971, allocations: 176.7 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3975, allocations: 0.6807 MB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.354e-06/0.3975, allocations: 8.125 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.3975, allocations: 7.438 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3975, allocations: 0 / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of Templates: time 0.005068/0.4026, allocations: 2.041 MB / 1.33 GB, free: 9.027 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.894940972328186]