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.001954/0.001954, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002473/0.002473, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.633 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.769/2.769, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.432e-06/1.432e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.421e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002685/0.002709, allocations: 1.484 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003857, allocations: 0.5826 MB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.003904, allocations: 2.344 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.003928, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.003984, allocations: 11.86 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.004265, allocations: 55.75 kB / 0.7885 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.569e-05/0.004361, allocations: 31.86 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.004434, allocations: 13.86 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004569, allocations: 23.92 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.004613, allocations: 7.984 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.004626, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.004772, allocations: 60.38 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.004787, allocations: 8 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.00481, allocations: 5.438 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.004987, allocations: 83.77 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004989, allocations: 0 / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.00499, allocations: 0 / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.004993, allocations: 1.094 kB / 0.7887 GB, free: 10.47 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.0004495/0.005443, allocations: 282 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005479, allocations: 12.75 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.005639, allocations: 16.88 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.005837, allocations: 114.7 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.00585, allocations: 4.375 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.005861, allocations: 6.969 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.006004, allocations: 46.25 kB / 0.7892 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006011, allocations: 4.125 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.00602, allocations: 384 / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006026, allocations: 3.938 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.006125, allocations: 19.98 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.00643, allocations: 197.3 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.00653, allocations: 31.09 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.006581, allocations: 10.58 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/0.007266, allocations: 96.95 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.007304, allocations: 39.31 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007305, allocations: 0 / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002606/0.007566, allocations: 66.83 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.007614, allocations: 51.41 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.007729, allocations: 111.2 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.007748, allocations: 25.7 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.007812, allocations: 84.14 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.007828, allocations: 9.703 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.007863, allocations: 13.72 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.008038, allocations: 318.8 kB / 0.7902 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.008087, allocations: 11.94 kB / 0.7902 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.882e-05/0.008125, allocations: 13.27 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/0.008214, allocations: 24.84 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.008216, allocations: 0.8438 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001336/0.008349, allocations: 58.8 kB / 0.7903 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.008369, allocations: 11.94 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.008373, allocations: 3.938 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.008389, allocations: 1.375 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.008459, allocations: 11.98 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.008463, allocations: 0 / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.008508, allocations: 9.406 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.008512, allocations: 0 / 0.7903 GB, free: 8.641 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 8.673e-05/0.008599, allocations: 105.8 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.008628, allocations: 10.81 kB / 0.7904 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.008802, allocations: 61.3 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008804, allocations: 0 / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008807, allocations: 0 / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.008812, allocations: 4 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.008966, allocations: 113.2 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008967, allocations: 0 / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.009012, allocations: 8.484 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009013, allocations: 1.938 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.009024, allocations: 7.938 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009025, allocations: 0 / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009026, allocations: 0 / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.009226, allocations: 156.3 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.00924, allocations: 7.938 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.009254, allocations: 3.938 kB / 0.7908 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.00932, allocations: 4.844 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.00935, allocations: 0 / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.009353, allocations: 0.6562 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.391e-05/0.009427, allocations: 98.42 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009427, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002384/0.009665, allocations: 12 kB / 0.7909 GB, free: 8.008 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.0001922/0.009858, allocations: 119.2 kB / 0.791 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.009987, allocations: 27.92 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009988, allocations: 2.094 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.01004, allocations: 11.98 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.01025, allocations: 7.875 kB / 0.7911 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.01058, allocations: 136.4 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.932e-05/0.01065, allocations: 64.31 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.01067, allocations: 1.125 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.01069, allocations: 12.5 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/0.0107, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.003111/0.01381, allocations: 0.6988 MB / 0.792 GB, free: 6.895 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] 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: 7.685190523043275]