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.001375/0.001375, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001505/0.001505, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.958/2.958, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002267/0.002267, allocations: 67.88 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9498, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001554/0.9514, allocations: 0.6259 MB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.953, allocations: 1.427 MB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.953, allocations: 0 / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.9531, allocations: 5 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.9531, allocations: 2.578 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.9538, allocations: 224 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.9539, allocations: 38.34 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.9539, allocations: 1.828 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.954, allocations: 14.64 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.954, allocations: 24.98 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.954, allocations: 5.109 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.9545, allocations: 260.7 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.9545, allocations: 7.984 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.9545, allocations: 18.94 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.9548, allocations: 212.1 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9548, allocations: 1.25 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9548, allocations: 0 / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.9549, allocations: 0 / 1.189 GB, free: 14.59 MB / 1.076 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.0002956/0.9551, allocations: 325.5 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.9552, allocations: 9.531 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.9552, allocations: 7.703 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.451e-05/0.9553, allocations: 118.5 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.9553, allocations: 2.438 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.9553, allocations: 7 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.9554, allocations: 108.9 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9555, allocations: 1.5 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.9555, allocations: 0 / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.9555, allocations: 5.297 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.9555, allocations: 65.86 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.962e-05/0.9556, allocations: 111 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.9557, allocations: 89.16 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.9558, allocations: 70.58 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.9558, allocations: 0 / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.9558, allocations: 41.58 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.9558, allocations: 3.938 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002984/0.9561, allocations: 256.1 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.9561, allocations: 83.08 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.9562, allocations: 110.9 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.9562, allocations: 26.95 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.9562, allocations: 91.5 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.9562, allocations: 24.5 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.9563, allocations: 24.22 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.9563, allocations: 319.3 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.9564, allocations: 69.44 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.9564, allocations: 64.62 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.9565, allocations: 150.5 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.9565, allocations: 0 / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001719/0.9567, allocations: 190.8 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.9567, allocations: 36.39 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.9568, allocations: 5.062 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.9568, allocations: 0 / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.9568, allocations: 0 / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.9568, allocations: 5.875 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.9568, allocations: 7.984 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.9569, allocations: 9.672 kB / 1.192 GB, free: 12.57 MB / 1.076 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 6.471e-05/0.9569, allocations: 149.7 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.9569, allocations: 4.547 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.105e-05/0.9569, allocations: 10.62 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9569, allocations: 1.219 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9569, allocations: 0 / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.957, allocations: 0.6562 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.368e-05/0.957, allocations: 114.5 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.957, allocations: 0 / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.957, allocations: 0 / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.957, allocations: 5.672 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.957, allocations: 2.281 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.957, allocations: 9.688 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.957, allocations: 0 / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.9573, allocations: 227.4 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.9573, allocations: 11.09 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.9573, allocations: 5.781 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.9573, allocations: 15.45 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.9574, allocations: 3.422 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.9574, allocations: 5.703 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.9574, allocations: 91.64 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9574, allocations: 4.031 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003095/0.9577, allocations: 73.05 kB / 1.192 GB, free: 12.02 MB / 1.076 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.0002501/0.958, allocations: 154.2 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.9582, allocations: 222.9 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9582, allocations: 1.312 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.9583, allocations: 151.2 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.9585, allocations: 4.766 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.9587, allocations: 205.1 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.708e-05/0.9588, allocations: 81.5 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.759e-06/0.9588, allocations: 0 / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-06/0.9588, allocations: 9.203 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9588, allocations: 1.094 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of Templates: time 0.004942/0.9637, allocations: 2.115 MB / 1.195 GB, free: 11.2 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.663613999029621]