Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 443.5 MB / 0.732 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 71.89 kB / 1.061 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8703, allocations: 160.7 MB / 1.218 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002041/0.8724, allocations: 0.6279 MB / 1.219 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.8746, allocations: 1.447 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.8747, allocations: 1.094 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.8747, allocations: 0 / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.8748, allocations: 12.98 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.8755, allocations: 203.9 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.8757, allocations: 46.36 kB / 1.221 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.8757, allocations: 1.188 kB / 1.221 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.8757, allocations: 15.05 kB / 1.221 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.8758, allocations: 25.41 kB / 1.221 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.8758, allocations: 2.062 kB / 1.221 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.8763, allocations: 253.6 kB / 1.221 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.8764, allocations: 10.89 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.8764, allocations: 12.62 kB / 1.221 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.8768, allocations: 226.5 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8768, allocations: 1.219 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8768, allocations: 4 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.8768, allocations: 0 / 1.221 GB, free: 1.957 MB / 0.92 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.0005335/0.8773, allocations: 401.9 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.8774, allocations: 9.312 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.8774, allocations: 8.047 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8776, allocations: 170.4 kB / 1.222 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8776, allocations: 1.469 kB / 1.222 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.8776, allocations: 3.5 kB / 1.222 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.8778, allocations: 82.41 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8778, allocations: 5.062 kB / 1.222 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8778, allocations: 5.062 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8778, allocations: 0 / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.8779, allocations: 33.53 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.8781, allocations: 164.1 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.8782, allocations: 53.02 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.8782, allocations: 37.45 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.8783, allocations: 0 / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.8783, allocations: 52.47 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.8783, allocations: 0 / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003356/0.8786, allocations: 185.1 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.8787, allocations: 80.3 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.8788, allocations: 114.8 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.8788, allocations: 26.7 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.8789, allocations: 86.14 kB / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.8789, allocations: 30.91 kB / 1.223 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.879, allocations: 21.08 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8791, allocations: 316.9 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.8792, allocations: 37.69 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.8792, allocations: 40.3 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.8794, allocations: 146.2 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8794, allocations: 0 / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002283/0.8796, allocations: 143.4 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.8797, allocations: 42.06 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8797, allocations: 4.062 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8797, allocations: 4 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.8797, allocations: 1.156 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8797, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.8799, allocations: 17.19 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.8799, allocations: 9.453 kB / 1.223 GB, free: 15.88 MB / 0.9356 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.0001211/0.88, allocations: 146.4 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.88, allocations: 8.094 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.88, allocations: 5.438 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.88, allocations: 9.219 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8801, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.8801, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.8802, allocations: 175 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8802, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.8802, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.8802, allocations: 4.812 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.8803, allocations: 3.062 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.8803, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8803, allocations: 1.062 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.8805, allocations: 202.9 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.8806, allocations: 91.25 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.8806, allocations: 2.625 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.8806, allocations: 8.359 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.8807, allocations: 2.188 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.8807, allocations: 5.438 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.8807, allocations: 91.77 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8807, allocations: 0 / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003431/0.8811, allocations: 81.86 kB / 1.224 GB, free: 15.14 MB / 0.9356 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.0003329/0.8814, allocations: 164 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.8817, allocations: 161.6 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8817, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.8818, allocations: 113.9 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.882, allocations: 12.53 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.8823, allocations: 182.2 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.8827, allocations: 0.6913 MB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.462e-06/0.8827, allocations: 0 / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.8827, allocations: 8.5 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8827, allocations: 0 / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of Templates: time 0.005196/0.8879, allocations: 2.063 MB / 1.227 GB, free: 12.94 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.508478851988912]