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.00094/0.00094, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009312/0.0009312, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.013/1.013, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.852/1.852, allocations: 359 MB / 0.6055 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 2.234e-06/2.234e-06, allocations: 0 / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.795e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.007194/0.007222, allocations: 0.6174 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.01244, allocations: 1.465 MB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.01248, allocations: 0 / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.354e-05/0.01255, allocations: 3.938 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.01259, allocations: 4.625 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.01341, allocations: 217.9 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.01349, allocations: 35.91 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.01353, allocations: 3.984 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.01358, allocations: 24.58 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.01364, allocations: 16.88 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.01365, allocations: 4 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.01408, allocations: 264.3 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.01411, allocations: 4 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.01414, allocations: 13.47 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.01449, allocations: 267.3 kB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01449, allocations: 3.938 kB / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0145, allocations: 0 / 0.7905 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.0145, allocations: 0 / 0.7905 GB, free: 9.195 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.000372/0.01487, allocations: 431.1 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.01492, allocations: 12.03 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.01496, allocations: 12.88 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.01508, allocations: 113.1 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.01509, allocations: 3.188 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.01511, allocations: 8.359 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.01525, allocations: 79.88 kB / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.01526, allocations: 192 / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.01527, allocations: 384 / 0.7911 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01528, allocations: 3.938 kB / 0.7911 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.01532, allocations: 41.69 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.01545, allocations: 114.7 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.01552, allocations: 64.75 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.01556, allocations: 49.41 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.01556, allocations: 3.984 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.01559, allocations: 41.86 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.0156, allocations: 0.7188 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/0.01583, allocations: 178.7 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.01588, allocations: 85.64 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.01598, allocations: 175.5 kB / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.016, allocations: 25.7 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.01605, allocations: 134.9 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01609, allocations: 19.84 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.01613, allocations: 23.38 kB / 0.792 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.01628, allocations: 0.4968 MB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.01633, allocations: 42.38 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.01636, allocations: 41.69 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/0.01645, allocations: 99.69 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01645, allocations: 7.938 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001502/0.0166, allocations: 138 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.01664, allocations: 39.88 kB / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01665, allocations: 1.375 kB / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01666, allocations: 0 / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.01666, allocations: 0 / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.01667, allocations: 0 / 0.7929 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.01674, allocations: 21.67 kB / 0.7929 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01675, allocations: 8 kB / 0.7929 GB, free: 6.441 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 0.0001016/0.01686, allocations: 190.3 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.01688, allocations: 11.95 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.01689, allocations: 6.125 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.0169, allocations: 0 / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.0169, allocations: 0 / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.0169, allocations: 7.875 kB / 0.7931 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.01699, allocations: 105.2 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01699, allocations: 0.8438 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.01699, allocations: 0 / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01699, allocations: 2.219 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.017, allocations: 7.984 kB / 0.7932 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.017, allocations: 0 / 0.7932 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.017, allocations: 0 / 0.7932 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.0172, allocations: 195.7 kB / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.01721, allocations: 4 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.01722, allocations: 2.125 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.01725, allocations: 7.984 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.01727, allocations: 8 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01728, allocations: 4 kB / 0.7934 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.01733, allocations: 135.8 kB / 0.7936 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01733, allocations: 0 / 0.7936 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003617/0.01769, allocations: 68.38 kB / 0.7936 GB, free: 5.633 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.00449/0.02218, allocations: 189.4 kB / 0.7938 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.02241, allocations: 174.4 kB / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02242, allocations: 0 / 0.794 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.0225, allocations: 132.8 kB / 0.7941 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.02268, allocations: 10.48 kB / 0.7941 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.02296, allocations: 175.8 kB / 0.7943 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.651e-05/0.023, allocations: 63.34 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.681e-06/0.023, allocations: 0 / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.0231, allocations: 86.19 kB / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.0231, allocations: 0 / 0.7944 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of Templates: time 0.005373/0.02847, allocations: 2.392 MB / 0.7967 GB, free: 2.348 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: 5.03491983609274]