Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002088/0.002088, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001503/0.001503, allocations: 201.1 kB / 22.17 MB, free: 5.203 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.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.91 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8575, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001675/0.8592, allocations: 0.6171 MB / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.8611, allocations: 1.454 MB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.8612, allocations: 0 / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.8612, allocations: 3.938 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.8613, allocations: 8 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.8619, allocations: 212.1 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.862, allocations: 35.97 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.862, allocations: 0 / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.8621, allocations: 15.92 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.8621, allocations: 19.97 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.8621, allocations: 4 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.8626, allocations: 259.6 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.8626, allocations: 15.91 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.8626, allocations: 15.88 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.8629, allocations: 210.2 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8629, allocations: 0 / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8629, allocations: 7.938 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.8629, allocations: 0 / 1.277 GB, free: 1.656 MB / 0.9669 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.0004616/0.8634, allocations: 404.7 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.8634, allocations: 8.031 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.8635, allocations: 12.89 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8636, allocations: 172.3 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8636, allocations: 8.359 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.8636, allocations: 384 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.8638, allocations: 77.97 kB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.8638, allocations: 0 / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.8638, allocations: 3.938 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.8638, allocations: 0 / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.8639, allocations: 39.92 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.864, allocations: 161.7 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.653e-05/0.8641, allocations: 54.55 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.8642, allocations: 40.86 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.8642, allocations: 0 / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8642, allocations: 38.5 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.8642, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003224/0.8646, allocations: 187.2 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.8646, allocations: 89.14 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.8647, allocations: 109.8 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.8647, allocations: 29.69 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.8648, allocations: 88.14 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.8648, allocations: 19.75 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.8649, allocations: 25.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.865, allocations: 318.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.8651, allocations: 35.97 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.8651, allocations: 39.97 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.8653, allocations: 140.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8653, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002171/0.8655, allocations: 163.4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.8656, allocations: 37.64 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.8656, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8656, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-06/0.8656, allocations: 7.969 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.8656, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.8657, allocations: 7.953 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.8657, allocations: 12.06 kB / 1.279 GB, free: 15.11 MB / 0.9825 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.0001283/0.8658, allocations: 147.5 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.8659, allocations: 11.92 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.8659, allocations: 8.375 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8659, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.8659, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-06/0.8659, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.866, allocations: 165.6 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.866, allocations: 3.938 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.866, allocations: 3.984 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.866, allocations: 7.938 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.866, allocations: 4 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.866, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.866, allocations: 0 / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.8663, allocations: 196.3 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.8664, allocations: 89 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.8664, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.8664, allocations: 11.98 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.8664, allocations: 8.031 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.8664, allocations: 8 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.8665, allocations: 91.27 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8665, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003049/0.8668, allocations: 71.86 kB / 1.28 GB, free: 14.18 MB / 0.9825 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.0003088/0.8671, allocations: 159.6 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.8674, allocations: 167.3 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8674, allocations: 4.062 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8675, allocations: 119.3 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.8676, allocations: 9.547 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.868, allocations: 182.1 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.8683, allocations: 0.6923 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.818e-06/0.8683, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.8683, allocations: 7.438 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8683, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.004879/0.8732, allocations: 2.067 MB / 1.283 GB, free: 10.71 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.742415240034461]