Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001325/0.001325, 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.001449/0.001449, allocations: 219.3 kB / 23 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002128/0.002128, allocations: 64.59 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001859/0.3608, allocations: 0.6199 MB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.363, allocations: 1.429 MB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.3631, allocations: 3.938 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.846e-05/0.3631, allocations: 3.938 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.3631, allocations: 0 / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007689/0.3639, allocations: 229.7 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.283e-05/0.364, allocations: 31.97 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.3641, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.3641, allocations: 11.98 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.3641, allocations: 23.92 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3642, allocations: 0 / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.3646, allocations: 267.6 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.3647, allocations: 7.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3647, allocations: 23.84 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3651, allocations: 219.4 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3651, allocations: 3.938 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3651, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3651, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 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.0004641/0.3655, allocations: 325.7 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3656, allocations: 8.031 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.3656, allocations: 4.938 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3658, allocations: 118.5 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3658, allocations: 384 / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3658, allocations: 4.375 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.366, allocations: 111.6 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.366, allocations: 4 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.366, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.366, allocations: 4 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.3661, allocations: 65.67 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.3662, allocations: 109.2 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3664, allocations: 88.25 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3664, allocations: 74.5 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-06/0.3665, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.3665, allocations: 34.56 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3665, allocations: 0 / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.3669, allocations: 266.7 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.367, allocations: 81.11 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3671, allocations: 117.8 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3671, allocations: 25.7 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.3671, allocations: 84.14 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.3672, allocations: 15.86 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.3672, allocations: 21.7 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3674, allocations: 322.8 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.3675, allocations: 69.61 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.3676, allocations: 73.66 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3677, allocations: 140.3 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3677, allocations: 7.938 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002335/0.368, allocations: 185 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.368, allocations: 40.19 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.368, allocations: 3.938 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.368, allocations: 4 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.368, allocations: 0 / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3681, allocations: 4 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3682, allocations: 7.938 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3682, allocations: 11.97 kB / 1.289 GB, free: 6.445 MB / 0.9825 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.0001449/0.3683, allocations: 159.5 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3684, allocations: 7.953 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.3684, allocations: 8.312 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3685, allocations: 113.3 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3685, allocations: 4 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3685, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3685, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3685, allocations: 7.984 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3685, allocations: 7.938 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3685, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.3688, allocations: 229 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.3688, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3688, allocations: 7.984 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.3689, allocations: 7.938 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3689, allocations: 4 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3689, allocations: 4 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.369, allocations: 99.19 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.369, allocations: 0 / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003116/0.3693, allocations: 79.86 kB / 1.29 GB, free: 5.645 MB / 0.9825 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.0003106/0.3696, allocations: 163 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.3699, allocations: 226.7 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3699, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3701, allocations: 149 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3702, allocations: 4 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.3706, allocations: 228.1 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.3707, allocations: 71.28 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.3707, allocations: 11.44 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/0.3707, allocations: 4.125 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of Templates: time 0.004025/0.3747, allocations: 1.726 MB / 1.292 GB, free: 2.973 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.998456140980124]