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.001397/0.001397, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001436/0.001436, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9757/0.9757, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.814/1.814, allocations: 359 MB / 0.6052 GB, free: 11.01 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.054e-06/2.054e-06, allocations: 0 / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.026e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001338/0.001368, allocations: 0.6334 MB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.003248, allocations: 1.473 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.003282, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.739e-05/0.00336, allocations: 3.938 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.003411, allocations: 10.62 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.004099, allocations: 219.3 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.004184, allocations: 35.97 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.004223, allocations: 5.516 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.00427, allocations: 19.92 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.004314, allocations: 19.97 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.004327, allocations: 0 / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.004703, allocations: 260.2 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.004757, allocations: 7.938 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.004796, allocations: 12.77 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.005212, allocations: 275.3 kB / 0.79 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.005217, allocations: 0.875 kB / 0.79 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/0.005218, allocations: 0 / 0.79 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.005224, allocations: 1.844 kB / 0.79 GB, free: 9.449 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.0003874/0.005612, allocations: 422 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005652, allocations: 8.031 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.005703, allocations: 12.89 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.0058, allocations: 108.6 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.005814, allocations: 5.906 kB / 0.7906 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.005829, allocations: 4.375 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005974, allocations: 83.92 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.005987, allocations: 192 / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006, allocations: 5.438 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.00601, allocations: 3.938 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.006057, allocations: 57.61 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.006182, allocations: 125.2 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.006259, allocations: 75.34 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.006301, allocations: 53.38 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.006307, allocations: 4 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.006341, allocations: 33.39 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.006342, allocations: 0 / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002534/0.006595, allocations: 198.6 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.00663, allocations: 89.05 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.006712, allocations: 174.5 kB / 0.7914 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006723, allocations: 26.42 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.006766, allocations: 138.9 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.006797, allocations: 16.39 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.006831, allocations: 25 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.006939, allocations: 0.4923 MB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.006984, allocations: 45.69 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.00702, allocations: 49.69 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.007103, allocations: 111.6 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007104, allocations: 0.5938 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001302/0.007234, allocations: 153.8 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.007274, allocations: 41.69 kB / 0.7925 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.00728, allocations: 8.719 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.007295, allocations: 0 / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-06/0.0073, allocations: 1.062 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.007306, allocations: 3.938 kB / 0.7925 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.00737, allocations: 9.312 kB / 0.7925 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.007387, allocations: 4 kB / 0.7925 GB, free: 6.613 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 8.316e-05/0.00747, allocations: 190.3 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.007485, allocations: 12.98 kB / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.007501, allocations: 16.42 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.007503, allocations: 0 / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007506, allocations: 4.594 kB / 0.7927 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.007509, allocations: 0 / 0.7927 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.007575, allocations: 121.6 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007576, allocations: 0 / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.007577, allocations: 0 / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007579, allocations: 0.8438 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.007587, allocations: 7.938 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007588, allocations: 5.5 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007589, allocations: 0 / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.007759, allocations: 207.7 kB / 0.7931 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.007767, allocations: 4 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.007779, allocations: 4.969 kB / 0.7931 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.007813, allocations: 7.984 kB / 0.7931 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.007828, allocations: 4 kB / 0.7931 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.007837, allocations: 10.03 kB / 0.7931 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.007881, allocations: 135.2 kB / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007881, allocations: 0 / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002246/0.008106, allocations: 67.88 kB / 0.7933 GB, free: 5.754 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.0002549/0.008361, allocations: 177.3 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.008538, allocations: 186.4 kB / 0.7936 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.00854, allocations: 0 / 0.7936 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.00861, allocations: 136.7 kB / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.008726, allocations: 6.062 kB / 0.7938 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.008981, allocations: 180.3 kB / 0.7939 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.009017, allocations: 63.81 kB / 0.794 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.839e-06/0.009021, allocations: 1.906 kB / 0.794 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.009036, allocations: 8.5 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of SimCode: time 9.71e-07/0.009037, allocations: 4 kB / 0.794 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.00439/0.01343, allocations: 2.134 MB / 0.7961 GB, free: 2.797 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.0595385087653995]