Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001962/0.001962, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002457/0.002457, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.635/1.635, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 2.964/2.964, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.669e-05, allocations: 6 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002982/0.003009, allocations: 1.49 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004238, allocations: 0.5939 MB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.004288, allocations: 0.875 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.004318, allocations: 7.922 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.004372, allocations: 4.906 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.004665, allocations: 59.75 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.004766, allocations: 28.52 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.004847, allocations: 8.531 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.004989, allocations: 27.91 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.005038, allocations: 12.7 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005064, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.005208, allocations: 57.48 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.005225, allocations: 11.98 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.005248, allocations: 3.938 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.005423, allocations: 75.84 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005426, allocations: 3.438 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005427, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.005431, allocations: 0 / 0.7887 GB, free: 10.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005191/0.00595, allocations: 380 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.005989, allocations: 12.03 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.006151, allocations: 16.88 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006324, allocations: 116.6 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.006334, allocations: 4.312 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.006344, allocations: 9.047 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.006472, allocations: 46.23 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006479, allocations: 0.7812 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.006488, allocations: 384 / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.006498, allocations: 9.469 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/0.006578, allocations: 12 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.006938, allocations: 255.8 kB / 0.7895 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.007046, allocations: 43.7 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.007095, allocations: 21.03 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.00767, allocations: 77.83 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.007708, allocations: 37.33 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.007709, allocations: 0 / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.007964, allocations: 55.22 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.008014, allocations: 55.34 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.008162, allocations: 177.9 kB / 0.79 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.008182, allocations: 26.27 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.008273, allocations: 138.9 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.008299, allocations: 17.25 kB / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.008342, allocations: 19.38 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002636/0.008606, allocations: 496.1 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.008643, allocations: 8.625 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.008677, allocations: 13.95 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.008755, allocations: 23.69 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.008756, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001445/0.008901, allocations: 57.58 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.008918, allocations: 8.469 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008922, allocations: 0.7188 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.008938, allocations: 3.984 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.009014, allocations: 9.281 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.009019, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.009057, allocations: 4 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.009062, allocations: 0.625 kB / 0.7908 GB, free: 8.109 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001406/0.009203, allocations: 157.7 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.009237, allocations: 7.938 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.009408, allocations: 58.05 kB / 0.791 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00941, allocations: 3.938 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.009413, allocations: 0.5 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.009415, allocations: 0 / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.009595, allocations: 129.7 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009596, allocations: 0 / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.009635, allocations: 7.938 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009637, allocations: 0.9062 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.00965, allocations: 7.922 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009651, allocations: 0.8438 kB / 0.7911 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009652, allocations: 4 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.009881, allocations: 194.2 kB / 0.7913 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.009894, allocations: 7.953 kB / 0.7913 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.009912, allocations: 7.938 kB / 0.7913 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.009967, allocations: 0 / 0.7913 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.01, allocations: 3.984 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.01001, allocations: 2.75 kB / 0.7913 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.01009, allocations: 131.2 kB / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01009, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002355/0.01033, allocations: 23.86 kB / 0.7915 GB, free: 7.316 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001963/0.01052, allocations: 111.2 kB / 0.7916 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01065, allocations: 29.17 kB / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01066, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.01072, allocations: 23.67 kB / 0.7916 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.01093, allocations: 0.5 kB / 0.7916 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01127, allocations: 143.7 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.01134, allocations: 63.34 kB / 0.7918 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.01137, allocations: 4.766 kB / 0.7918 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.01139, allocations: 8.5 kB / 0.7918 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.0114, allocations: 0.5625 kB / 0.7919 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of Templates: time 0.003586/0.01498, allocations: 0.7076 MB / 0.7925 GB, free: 6.188 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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: 8.051897192024626]