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.002123/0.002123, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002975/0.002975, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.801 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.363/3.363, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002133/0.002133, allocations: 68.75 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3577, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001928/0.3596, allocations: 0.6196 MB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3619, allocations: 1.428 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.3619, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.139e-05/0.362, allocations: 3.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.362, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.3628, allocations: 211.5 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.3629, allocations: 35.97 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.3629, allocations: 7.984 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.363, allocations: 15.94 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.363, allocations: 27.89 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3631, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.3635, allocations: 263.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.3636, allocations: 7.984 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.3636, allocations: 15.88 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.364, allocations: 219.4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.364, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.163e-06/0.364, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.364, allocations: 0 / 1.328 GB, free: 15.07 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.0004664/0.3645, allocations: 327.6 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3645, allocations: 11.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.3646, allocations: 8.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3647, allocations: 118.4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3647, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3647, allocations: 8.359 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3649, allocations: 107.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3649, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3649, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3649, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.365, allocations: 73.66 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3651, allocations: 113.2 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3652, allocations: 84.19 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.3653, allocations: 74.56 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.3653, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3654, allocations: 30.56 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3654, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/0.3658, allocations: 258.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.3658, allocations: 89.05 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/0.3659, allocations: 113.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3659, allocations: 29.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.366, allocations: 88.12 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.366, allocations: 15.86 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3661, allocations: 25.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3662, allocations: 314.8 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.3663, allocations: 65.67 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.3664, allocations: 65.83 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3666, allocations: 156.2 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3666, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002309/0.3668, allocations: 188.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.3669, allocations: 37.7 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3669, allocations: 3.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3669, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.3669, allocations: 3.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3669, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.367, allocations: 11.94 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.367, allocations: 4 kB / 1.331 GB, free: 12.42 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.000115/0.3671, allocations: 152.1 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.3671, allocations: 7.953 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.3672, allocations: 16.31 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3672, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3672, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3672, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.3673, allocations: 109.2 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3673, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.3673, allocations: 3.938 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3673, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3673, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3673, allocations: 7.938 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3673, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3676, allocations: 240.3 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.3676, allocations: 3.953 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3676, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.3677, allocations: 11.92 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.3677, allocations: 8 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3677, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.3678, allocations: 91.27 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3678, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003001/0.3681, allocations: 75.86 kB / 1.331 GB, free: 11.61 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.0002985/0.3684, allocations: 159.1 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.3687, allocations: 226.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3687, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.3688, allocations: 149 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.369, allocations: 6.031 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.3693, allocations: 210.4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.595e-05/0.3694, allocations: 71.33 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.569e-06/0.3694, allocations: 128 / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.3694, allocations: 11.44 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3694, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of Templates: time 0.005167/0.3745, allocations: 2.128 MB / 1.334 GB, free: 8.586 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: 9.387731838971376]