Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.00189/0.00189, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.00223/0.00223, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.696/2.696, allocations: 359 MB / 0.6048 GB, free: 10.93 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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0.7656 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.43e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00318/0.003214, allocations: 1.492 MB / 0.7878 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005011/0.003715, allocations: 144.8 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.003753, allocations: 0 / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.003811, allocations: 3.938 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.003893, allocations: 5.156 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.00416, allocations: 31.89 kB / 0.788 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.004291, allocations: 44.59 kB / 0.788 GB, free: 9.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004426, allocations: 8.906 kB / 0.7881 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.00452, allocations: 31.91 kB / 0.7881 GB, free: 9.945 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.004572, allocations: 11.98 kB / 0.7881 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.004599, allocations: 4.562 kB / 0.7881 GB, free: 9.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.004717, allocations: 32.88 kB / 0.7881 GB, free: 9.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.004742, allocations: 11.92 kB / 0.7881 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.004779, allocations: 8 kB / 0.7882 GB, free: 9.879 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.004988, allocations: 76.62 kB / 0.7882 GB, free: 9.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.004994, allocations: 4 kB / 0.7882 GB, free: 9.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/0.004995, allocations: 0.5 kB / 0.7882 GB, free: 9.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.005002, allocations: 0 / 0.7882 GB, free: 9.801 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000606/0.005608, allocations: 287.2 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.005653, allocations: 8.031 kB / 0.7885 GB, free: 9.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.006983, allocations: 223.6 kB / 0.7887 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.007136, allocations: 113.7 kB / 0.7888 GB, free: 9.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.007157, allocations: 9.594 kB / 0.7888 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.007176, allocations: 384 / 0.7888 GB, free: 9.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.007843, allocations: 194.7 kB / 0.789 GB, free: 8.926 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007854, allocations: 1.094 kB / 0.789 GB, free: 8.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.007872, allocations: 4.312 kB / 0.789 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.007877, allocations: 1.031 kB / 0.789 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009559/0.008833, allocations: 288.6 kB / 0.7893 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.00991, allocations: 353.3 kB / 0.7896 GB, free: 8.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.01117, allocations: 289 kB / 0.7899 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.01157, allocations: 101.6 kB / 0.79 GB, free: 7.879 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.01161, allocations: 5.031 kB / 0.79 GB, free: 7.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.01165, allocations: 34.55 kB / 0.7901 GB, free: 7.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.01165, allocations: 0 / 0.7901 GB, free: 7.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001333/0.01298, allocations: 313.3 kB / 0.7904 GB, free: 7.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.01304, allocations: 55.39 kB / 0.7904 GB, free: 7.457 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.01316, allocations: 106.4 kB / 0.7905 GB, free: 7.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.01319, allocations: 29.64 kB / 0.7905 GB, free: 7.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.01328, allocations: 96.8 kB / 0.7906 GB, free: 7.211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01332, allocations: 8.016 kB / 0.7906 GB, free: 7.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.01339, allocations: 22.92 kB / 0.7907 GB, free: 7.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.01357, allocations: 314.8 kB / 0.791 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.01397, allocations: 97.59 kB / 0.7911 GB, free: 6.766 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.01437, allocations: 92.84 kB / 0.7911 GB, free: 6.676 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.0151, allocations: 174.9 kB / 0.7913 GB, free: 6.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0151, allocations: 1.062 kB / 0.7913 GB, free: 6.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008417/0.01595, allocations: 211.3 kB / 0.7915 GB, free: 6.293 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.01597, allocations: 10.22 kB / 0.7915 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01598, allocations: 3.938 kB / 0.7915 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.016, allocations: 0 / 0.7915 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.01629, allocations: 35.95 kB / 0.7916 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.0163, allocations: 2.781 kB / 0.7916 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.01652, allocations: 35.83 kB / 0.7916 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01654, allocations: 4 kB / 0.7916 GB, free: 6.207 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0001423/0.01668, allocations: 113.8 kB / 0.7917 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.01672, allocations: 7.938 kB / 0.7917 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.01678, allocations: 13.58 kB / 0.7917 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01678, allocations: 0 / 0.7917 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01679, allocations: 0 / 0.7917 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01679, allocations: 0 / 0.7917 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01705, allocations: 141.8 kB / 0.7919 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01705, allocations: 0 / 0.7919 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.01731, allocations: 33.02 kB / 0.7919 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.01732, allocations: 4.531 kB / 0.7919 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01734, allocations: 7.984 kB / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01734, allocations: 1.344 kB / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01734, allocations: 0 / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.01827, allocations: 314.1 kB / 0.7922 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01829, allocations: 4 kB / 0.7922 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.01831, allocations: 3.938 kB / 0.7922 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.01855, allocations: 35.8 kB / 0.7923 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.01859, allocations: 3.984 kB / 0.7923 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01861, allocations: 4 kB / 0.7923 GB, free: 5.488 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.01867, allocations: 87.27 kB / 0.7923 GB, free: 5.402 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01867, allocations: 0 / 0.7923 GB, free: 5.402 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002569/0.01893, allocations: 12 kB / 0.7924 GB, free: 5.391 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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.0002846/0.01922, allocations: 95.25 kB / 0.7924 GB, free: 5.285 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008675/0.02008, allocations: 198 kB / 0.7926 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02009, allocations: 1.094 kB / 0.7926 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.0205, allocations: 100.9 kB / 0.7927 GB, free: 4.996 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.02078, allocations: 5.25 kB / 0.7927 GB, free: 4.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.02186, allocations: 271.3 kB / 0.793 GB, free: 4.703 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.645e-05/0.02196, allocations: 83.22 kB / 0.7931 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.02207, allocations: 17 kB / 0.7931 GB, free: 4.586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.02213, allocations: 16.48 kB / 0.7931 GB, free: 4.57 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.02214, allocations: 0 / 0.7931 GB, free: 4.57 MB / 0.698 GB Notification: Performance of Templates: time 0.003974/0.02611, allocations: 0.9644 MB / 0.794 GB, free: 3.617 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.446260083001107]