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.001865/0.001865, allocations: 114.7 kB / 17.13 MB, free: 6.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.002153/0.002153, allocations: 213 kB / 20.1 MB, free: 3.059 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 / 253.5 MB, free: 15.11 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 2.954/2.954, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002022/0.002022, allocations: 67.91 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.863, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001479/0.8645, allocations: 0.6111 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.866, allocations: 1.496 MB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.866, allocations: 0 / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.8661, allocations: 3 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.8661, allocations: 7.172 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.8668, allocations: 206.1 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.8668, allocations: 34.84 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.8669, allocations: 10.06 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.8669, allocations: 12.34 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.8669, allocations: 30.55 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.8669, allocations: 2.844 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.8673, allocations: 252.5 kB / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.8673, allocations: 10.67 kB / 1.325 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.8673, allocations: 17.59 kB / 1.325 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.8675, allocations: 217.5 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8675, allocations: 6.906 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8675, allocations: 0 / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8675, allocations: 0 / 1.325 GB, free: 23.35 MB / 1.061 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.0003056/0.8679, allocations: 399.2 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.8679, allocations: 12.64 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.8679, allocations: 7.281 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.868, allocations: 179.3 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.868, allocations: 11.31 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.868, allocations: 384 / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.8681, allocations: 86.55 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.8681, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.8682, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8682, allocations: 2.688 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.8682, allocations: 34.16 kB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.635e-05/0.8683, allocations: 160.3 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.8684, allocations: 53.94 kB / 1.326 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.8684, allocations: 43.67 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.8684, allocations: 7.922 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.8684, allocations: 41.83 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.8684, allocations: 0 / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002552/0.8687, allocations: 183.8 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.8687, allocations: 83.47 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.8688, allocations: 116.3 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.8688, allocations: 28.39 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.8688, allocations: 83.33 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.8688, allocations: 25.45 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.8689, allocations: 18.3 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.8689, allocations: 317.2 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.869, allocations: 39.22 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.869, allocations: 40.97 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.8691, allocations: 143 kB / 1.327 GB, free: 21.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8691, allocations: 3.938 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001525/0.8693, allocations: 150.7 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.8693, allocations: 47.22 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.8693, allocations: 0 / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8693, allocations: 1.125 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.8693, allocations: 0 / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.8693, allocations: 0 / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.8694, allocations: 9.766 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.8695, allocations: 4.688 kB / 1.327 GB, free: 21.41 MB / 1.061 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 7.071e-05/0.8695, allocations: 148.1 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.8695, allocations: 16.08 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.149e-05/0.8696, allocations: 10.5 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.8696, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8696, allocations: 4.547 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.8696, allocations: 0 / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.684e-05/0.8696, allocations: 162 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8696, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.8696, allocations: 3.281 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.8696, allocations: 9.031 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8696, allocations: 6.875 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8696, allocations: 0 / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8696, allocations: 0.75 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.8699, allocations: 196.1 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.8699, allocations: 89.91 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8699, allocations: 2.812 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.8699, allocations: 8.281 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.87, allocations: 2.594 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.87, allocations: 9.062 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.87, allocations: 94.56 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.87, allocations: 4.562 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003173/0.8703, allocations: 73.12 kB / 1.328 GB, free: 20.71 MB / 1.061 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.0002972/0.8706, allocations: 162.6 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.8708, allocations: 165 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8709, allocations: 0 / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.871, allocations: 118.7 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.8711, allocations: 4.75 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.8714, allocations: 200.4 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.996e-05/0.8715, allocations: 0.6885 MB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-06/0.8715, allocations: 8.406 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.8715, allocations: 0 / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of Templates: time 0.003888/0.8754, allocations: 1.715 MB / 1.331 GB, free: 19.45 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.711820333002834]