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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001047/0.001047, allocations: 169 kB / 24.28 MB, free: 280 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 0.9704/0.9704, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.787/1.787, allocations: 359 MB / 0.6055 GB, free: 11 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.094e-06/2.094e-06, allocations: 0.5469 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.301e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001078/0.001101, allocations: 0.6254 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.002795, allocations: 1.468 MB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.002835, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.435e-05/0.002899, allocations: 7.125 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.00294, allocations: 4 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.003523, allocations: 223.3 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.003605, allocations: 31.97 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.003647, allocations: 1.031 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.003691, allocations: 19.92 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.004036, allocations: 27.95 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.004048, allocations: 0.5938 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.004366, allocations: 260.9 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.00441, allocations: 7.938 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.004444, allocations: 11.98 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.004734, allocations: 268.2 kB / 0.79 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004737, allocations: 4 kB / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004738, allocations: 0 / 0.79 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004742, allocations: 0.6875 kB / 0.79 GB, free: 9.789 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.0003735/0.005116, allocations: 426 kB / 0.7904 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.005156, allocations: 8.625 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.005202, allocations: 10.27 kB / 0.7905 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.005304, allocations: 116.5 kB / 0.7906 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.005318, allocations: 8.375 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.00533, allocations: 4.359 kB / 0.7906 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.005456, allocations: 85.53 kB / 0.7907 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.005462, allocations: 4.125 kB / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005473, allocations: 4.375 kB / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.005482, allocations: 3.938 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.005517, allocations: 47.22 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.005626, allocations: 124.6 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.005693, allocations: 72.69 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.005735, allocations: 57.41 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-06/0.00574, allocations: 0.5625 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.005766, allocations: 38.98 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005767, allocations: 0 / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002414/0.006008, allocations: 206.8 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.006053, allocations: 89.05 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.006145, allocations: 176 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006157, allocations: 25.7 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.006199, allocations: 138.9 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.006234, allocations: 11.86 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.006268, allocations: 31.36 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.006389, allocations: 496.1 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.006432, allocations: 50.22 kB / 0.7922 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.006465, allocations: 42.41 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.006552, allocations: 111.1 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.006554, allocations: 0.5 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.006677, allocations: 154.5 kB / 0.7925 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.006709, allocations: 37.69 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006713, allocations: 0 / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006728, allocations: 4 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.006729, allocations: 0.625 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.006735, allocations: 3.938 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.006795, allocations: 9.062 kB / 0.7925 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.006811, allocations: 4 kB / 0.7925 GB, free: 6.953 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.896e-05/0.00689, allocations: 195.1 kB / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.006904, allocations: 15.94 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.006915, allocations: 8.969 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006917, allocations: 0 / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.006921, allocations: 4.781 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006923, allocations: 0 / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.449e-05/0.006988, allocations: 126.6 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.00699, allocations: 3.984 kB / 0.7929 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.00699, allocations: 0 / 0.7929 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.006991, allocations: 0 / 0.7929 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.007001, allocations: 8 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.007002, allocations: 0 / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.007002, allocations: 0.5625 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.007158, allocations: 218.1 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.007163, allocations: 0 / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.007176, allocations: 8 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.007198, allocations: 7.984 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.007213, allocations: 8 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.007221, allocations: 7.938 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.007257, allocations: 131.8 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007257, allocations: 1.75 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001949/0.007452, allocations: 71.88 kB / 0.7933 GB, free: 6.078 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.0002156/0.007668, allocations: 171.1 kB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.007837, allocations: 183.2 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007838, allocations: 1.156 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.007905, allocations: 140.7 kB / 0.7938 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.008018, allocations: 8 kB / 0.7938 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.00826, allocations: 177.5 kB / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.008295, allocations: 63.28 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.32e-06/0.0083, allocations: 0 / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.008311, allocations: 8.5 kB / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of SimCode: time 5e-07/0.008312, allocations: 0.7188 kB / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.00351/0.01182, allocations: 2.138 MB / 0.7961 GB, free: 3.121 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.941793899051845]