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.001358/0.001358, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001103/0.001103, allocations: 168 kB / 24.86 MB, free: 9.27 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.829/1.829, allocations: 359 MB / 0.6063 GB, free: 10.89 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.233e-06/1.233e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.335e-05, allocations: 4.703 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001033/0.001046, allocations: 0.6377 MB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.002551, allocations: 1.46 MB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.002578, allocations: 1.188 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.313e-05/0.002641, allocations: 4 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-05/0.002691, allocations: 5.344 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.003222, allocations: 216 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.003295, allocations: 40.88 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.003329, allocations: 7.984 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.003365, allocations: 17.92 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.003404, allocations: 15.98 kB / 0.7907 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.003415, allocations: 4 kB / 0.7907 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.003712, allocations: 267.5 kB / 0.791 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.003741, allocations: 4 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.003764, allocations: 11.92 kB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.004005, allocations: 268 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004007, allocations: 1.062 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.62e-07/0.004007, allocations: 0 / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004011, allocations: 0 / 0.7912 GB, free: 9.207 MB / 0.7448 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.000283/0.004294, allocations: 435.5 kB / 0.7917 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004323, allocations: 8.031 kB / 0.7917 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.004353, allocations: 8.891 kB / 0.7917 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.004423, allocations: 116.6 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004433, allocations: 1.969 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-06/0.004439, allocations: 4.375 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.991e-05/0.004529, allocations: 79.94 kB / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004535, allocations: 192 / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.004542, allocations: 2.156 kB / 0.7919 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004548, allocations: 7.938 kB / 0.7919 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.004575, allocations: 45.62 kB / 0.7919 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.933e-05/0.004655, allocations: 101.2 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.004705, allocations: 68.75 kB / 0.7921 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.004733, allocations: 51.88 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-06/0.004735, allocations: 0 / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.004754, allocations: 37.39 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 5.21e-07/0.004755, allocations: 0 / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001671/0.004922, allocations: 178.8 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.004953, allocations: 85.11 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.005025, allocations: 182.7 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005036, allocations: 25.7 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.005075, allocations: 136.5 kB / 0.7927 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.005107, allocations: 15.86 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.00514, allocations: 31.34 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005255, allocations: 496.1 kB / 0.7933 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.005283, allocations: 43.44 kB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.005309, allocations: 46 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.005371, allocations: 99.12 kB / 0.7934 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005373, allocations: 0 / 0.7934 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.475e-05/0.005468, allocations: 145 kB / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.005491, allocations: 36.55 kB / 0.7936 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.005495, allocations: 0.875 kB / 0.7936 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.005501, allocations: 0 / 0.7936 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-06/0.005505, allocations: 7.984 kB / 0.7936 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.005507, allocations: 1.938 kB / 0.7936 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.005554, allocations: 19.81 kB / 0.7936 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.005568, allocations: 4 kB / 0.7937 GB, free: 6.461 MB / 0.7448 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.955e-05/0.005648, allocations: 194.3 kB / 0.7938 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.005659, allocations: 14.14 kB / 0.7938 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-06/0.005667, allocations: 4.438 kB / 0.7939 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.005669, allocations: 3.984 kB / 0.7939 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00567, allocations: 0 / 0.7939 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005673, allocations: 3.938 kB / 0.7939 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.564e-05/0.005729, allocations: 101.2 kB / 0.794 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005729, allocations: 0.5312 kB / 0.794 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.005731, allocations: 3.984 kB / 0.794 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005732, allocations: 4.719 kB / 0.794 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005738, allocations: 0.5312 kB / 0.794 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.005738, allocations: 0 / 0.794 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005741, allocations: 9.562 kB / 0.794 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.005867, allocations: 191.7 kB / 0.7942 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.005873, allocations: 4 kB / 0.7942 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.005882, allocations: 0 / 0.7942 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.005901, allocations: 12.52 kB / 0.7942 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.005911, allocations: 0 / 0.7942 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.005918, allocations: 9.297 kB / 0.7942 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.005951, allocations: 139.2 kB / 0.7943 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005951, allocations: 0 / 0.7943 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000184/0.006135, allocations: 69.03 kB / 0.7944 GB, free: 5.645 MB / 0.7448 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.0001892/0.006324, allocations: 171.1 kB / 0.7945 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.006465, allocations: 191.7 kB / 0.7947 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.006466, allocations: 0 / 0.7947 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.006522, allocations: 128.7 kB / 0.7949 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.006626, allocations: 12.91 kB / 0.7949 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.006807, allocations: 167.8 kB / 0.795 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.84e-05/0.006835, allocations: 64.12 kB / 0.7951 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.518e-06/0.00684, allocations: 0 / 0.7951 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.006907, allocations: 95.47 kB / 0.7952 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.006908, allocations: 0 / 0.7952 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of Templates: time 0.003487/0.01039, allocations: 2.415 MB / 0.7975 GB, free: 2.355 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.984149668365717]