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.001447/0.001447, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002379/0.002379, allocations: 165.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.841/2.841, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.284e-06/2.284e-06, allocations: 0.875 kB / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.227e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002564/0.002597, allocations: 0.6249 MB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0035/0.006097, allocations: 1.437 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.006126, allocations: 0.8438 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.176e-05/0.006198, allocations: 0 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.006247, allocations: 4.562 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.007362, allocations: 216.9 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.00748, allocations: 36.62 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.007522, allocations: 7.969 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.007582, allocations: 16.86 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.007657, allocations: 19.92 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.007676, allocations: 1.156 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.008446, allocations: 267.5 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.008498, allocations: 7.938 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.008547, allocations: 13.48 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.009167, allocations: 267.3 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.009171, allocations: 4 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.21e-07/0.009172, allocations: 0 / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.009176, allocations: 1.531 kB / 0.8137 GB, free: 15.14 MB / 0.7761 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.000618/0.009794, allocations: 319.7 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.00984, allocations: 8.031 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.009911, allocations: 12.89 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.01008, allocations: 114.9 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.0101, allocations: 4.375 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.01012, allocations: 384 / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.01038, allocations: 108.4 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01039, allocations: 4.172 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.01041, allocations: 5.562 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.01042, allocations: 3.938 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.01056, allocations: 65.67 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.01077, allocations: 106 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.01098, allocations: 88.17 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.01114, allocations: 76 kB / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.01115, allocations: 0 / 0.8146 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.01121, allocations: 30.56 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.01121, allocations: 0.625 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0006984/0.01191, allocations: 254.7 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.01202, allocations: 86.06 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.01219, allocations: 117.8 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.01222, allocations: 29.64 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.0123, allocations: 84.89 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.01236, allocations: 27.78 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.01243, allocations: 18.41 kB / 0.8152 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.01268, allocations: 324.1 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01282, allocations: 65.67 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.01295, allocations: 65.67 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.01324, allocations: 140.2 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01324, allocations: 1.812 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004159/0.01366, allocations: 189.1 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.01373, allocations: 37.69 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.01374, allocations: 4 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.01377, allocations: 6.25 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.01377, allocations: 0 / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.01378, allocations: 3.938 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.01397, allocations: 7.984 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.01401, allocations: 8 kB / 0.816 GB, free: 12.51 MB / 0.7761 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.0001928/0.0142, allocations: 147.5 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.01425, allocations: 15.39 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.01427, allocations: 4.438 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01427, allocations: 0 / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.01428, allocations: 7.938 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01428, allocations: 3.984 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01445, allocations: 109.3 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01445, allocations: 0 / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.01446, allocations: 4 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01446, allocations: 0 / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.01448, allocations: 4.812 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01448, allocations: 0 / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01448, allocations: 0.5 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.01499, allocations: 236.3 kB / 0.8165 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.01502, allocations: 12.45 kB / 0.8165 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01505, allocations: 4.547 kB / 0.8165 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.01512, allocations: 8 kB / 0.8165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.01516, allocations: 9.266 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.01518, allocations: 7.938 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001042/0.01529, allocations: 95.83 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01529, allocations: 0.6562 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005964/0.01588, allocations: 71.88 kB / 0.8167 GB, free: 11.71 MB / 0.7761 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.0005681/0.01645, allocations: 169.7 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.01694, allocations: 222.9 kB / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01694, allocations: 0 / 0.8171 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.0172, allocations: 149 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01746, allocations: 12.53 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.01804, allocations: 206.9 kB / 0.8174 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01815, allocations: 71.28 kB / 0.8175 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.749e-06/0.01816, allocations: 4.922 kB / 0.8175 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.01818, allocations: 8.5 kB / 0.8175 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01818, allocations: 5.344 kB / 0.8175 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.007685/0.02587, allocations: 2.123 MB / 0.8196 GB, free: 8.699 MB / 0.7761 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: 7.8802948909578845]