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.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.001205/0.001205, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00147/0.00147, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9203/0.9203, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.513e-06/1.513e-06, allocations: 0 / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.704e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001167/0.001194, allocations: 0.6189 MB / 0.9524 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.002557, allocations: 1.432 MB / 0.9538 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.002582, allocations: 3.938 kB / 0.9538 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.002635, allocations: 4 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.002671, allocations: 3.938 kB / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.003209, allocations: 212 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.003279, allocations: 31.98 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.003316, allocations: 11.91 kB / 0.954 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.003354, allocations: 19.92 kB / 0.9541 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.003393, allocations: 23.92 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.003404, allocations: 0 / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.003685, allocations: 263.5 kB / 0.9543 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.003723, allocations: 15.94 kB / 0.9543 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.003747, allocations: 7.984 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.00401, allocations: 263.5 kB / 0.9546 GB, free: 16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004012, allocations: 4 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004013, allocations: 0 / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004017, allocations: 0 / 0.9546 GB, free: 15.99 MB / 0.9167 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.0003063/0.004323, allocations: 327.6 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.004355, allocations: 8.031 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.004388, allocations: 8.891 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.00446, allocations: 109.7 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.00447, allocations: 384 / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.004481, allocations: 8.375 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.004614, allocations: 111.8 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.00462, allocations: 192 / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.00463, allocations: 384 / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.004635, allocations: 3.938 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.004691, allocations: 73.66 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.0048, allocations: 109.3 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.004883, allocations: 84.23 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.004935, allocations: 70.56 kB / 0.9555 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.004943, allocations: 3.938 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.004966, allocations: 38.56 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 5.01e-07/0.004967, allocations: 0 / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002484/0.005215, allocations: 246.7 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.00525, allocations: 85.03 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.005312, allocations: 118.1 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.005322, allocations: 25.7 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.005353, allocations: 84.14 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.005385, allocations: 27.73 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.005415, allocations: 21.72 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.005495, allocations: 318.8 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.005546, allocations: 69.67 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.005589, allocations: 73.64 kB / 0.9565 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.005687, allocations: 140.2 kB / 0.9567 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005689, allocations: 0 / 0.9567 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001307/0.005819, allocations: 185.2 kB / 0.9569 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.005849, allocations: 44.34 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.005855, allocations: 7.922 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.005864, allocations: 0 / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.005865, allocations: 0 / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00587, allocations: 3.938 kB / 0.9569 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.005944, allocations: 15.94 kB / 0.9569 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.00596, allocations: 4.062 kB / 0.9569 GB, free: 13.35 MB / 0.9167 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.258e-05/0.006033, allocations: 151.5 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.00604, allocations: 7.938 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.006051, allocations: 8.438 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006053, allocations: 0 / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.006059, allocations: 7.922 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006061, allocations: 3.938 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.522e-05/0.006116, allocations: 113.3 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.006117, allocations: 0 / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/0.006119, allocations: 4 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.00612, allocations: 0 / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.006127, allocations: 4 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.006129, allocations: 4 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006129, allocations: 0 / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.006296, allocations: 228.4 kB / 0.9574 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.006303, allocations: 7.891 kB / 0.9574 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006314, allocations: 4 kB / 0.9574 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.006335, allocations: 4 kB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.00635, allocations: 7.984 kB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.006357, allocations: 7.938 kB / 0.9575 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.00639, allocations: 91.27 kB / 0.9576 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00639, allocations: 7.969 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001874/0.006577, allocations: 75.88 kB / 0.9576 GB, free: 12.55 MB / 0.9167 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.0001993/0.006776, allocations: 167.1 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.006969, allocations: 222.7 kB / 0.958 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.006971, allocations: 0 / 0.958 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.007052, allocations: 149 kB / 0.9581 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.007162, allocations: 5.891 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.007429, allocations: 229.3 kB / 0.9584 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.007478, allocations: 79.39 kB / 0.9584 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.007491, allocations: 8.5 kB / 0.9585 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.007491, allocations: 0 / 0.9585 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.002344/0.009835, allocations: 1.744 MB / 0.9602 GB, free: 9.859 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.75623456761241]