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.001567/0.001567, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001845/0.001845, allocations: 219.6 kB / 23.01 MB, free: 4.609 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.255/3.255, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.002138/0.002138, allocations: 62.2 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3381, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001852/0.34, allocations: 0.6204 MB / 1.355 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3422, allocations: 1.502 MB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.3423, allocations: 0 / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.922e-05/0.3423, allocations: 7.875 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.3424, allocations: 4 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.3431, allocations: 222.5 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.3432, allocations: 35.97 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.3433, allocations: 7.984 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.3433, allocations: 15.94 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.3434, allocations: 27.89 kB / 1.357 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3434, allocations: 4 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.3439, allocations: 279.5 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.344, allocations: 11.98 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.344, allocations: 11.88 kB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3443, allocations: 223.4 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3443, allocations: 4 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3444, allocations: 0 / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.3444, allocations: 3.938 kB / 1.357 GB, free: 4.926 MB / 1.045 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.0004596/0.3448, allocations: 327.6 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3449, allocations: 8.031 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.3449, allocations: 8.891 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.345, allocations: 110.5 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.345, allocations: 384 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.345, allocations: 4.375 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3452, allocations: 81.97 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3452, allocations: 0 / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3452, allocations: 4 kB / 1.358 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3452, allocations: 3.984 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.3453, allocations: 35.91 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.3455, allocations: 144.6 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3456, allocations: 50.55 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.3456, allocations: 44.86 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3457, allocations: 4 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3457, allocations: 34.5 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3457, allocations: 0 / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.3461, allocations: 183.2 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3461, allocations: 81.11 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3463, allocations: 109.8 kB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3463, allocations: 33.7 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3463, allocations: 88.16 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3464, allocations: 23.81 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.3464, allocations: 21.7 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3466, allocations: 314.8 kB / 1.359 GB, free: 3.051 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.3466, allocations: 39.97 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.3467, allocations: 36.52 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3468, allocations: 148.4 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3468, allocations: 0 / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001942/0.347, allocations: 151.3 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.3471, allocations: 45.62 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3471, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3471, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-06/0.3471, allocations: 4 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3471, allocations: 3.938 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.3472, allocations: 15.88 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3472, allocations: 4 kB / 1.359 GB, free: 2.578 MB / 1.045 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.0001202/0.3473, allocations: 152.1 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.3473, allocations: 11.97 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.3473, allocations: 8.359 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3473, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3473, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3473, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3475, allocations: 144.7 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3475, allocations: 0 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.3475, allocations: 0 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3475, allocations: 3.938 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3475, allocations: 4 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3475, allocations: 7.984 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3475, allocations: 4 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3477, allocations: 194.7 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.3477, allocations: 11.89 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3478, allocations: 0 / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.3478, allocations: 8 kB / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.3478, allocations: 3.984 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3478, allocations: 4 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.3479, allocations: 95.3 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3479, allocations: 4 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002925/0.3482, allocations: 71.88 kB / 1.36 GB, free: 1.781 MB / 1.045 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.0002994/0.3485, allocations: 155.1 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3487, allocations: 167.3 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3487, allocations: 0 / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3489, allocations: 119.3 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.349, allocations: 4 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.3494, allocations: 202.5 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3497, allocations: 0.6846 MB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.3497, allocations: 11.42 kB / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3497, allocations: 0 / 1.361 GB, free: 368 kB / 1.045 GB Notification: Performance of Templates: time 0.003796/0.3535, allocations: 1.715 MB / 1.363 GB, free: 14.65 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.477118862007046]