Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001832/0.001832, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001945/0.001945, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.652/1.652, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.505/3.505, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.552e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00276/0.002786, allocations: 1.497 MB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004311/0.003217, allocations: 140.4 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.003243, allocations: 1.906 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.003292, allocations: 3.938 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.003354, allocations: 14.7 kB / 0.8791 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.003561, allocations: 29 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.003659, allocations: 40.08 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003765, allocations: 20.62 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.003825, allocations: 19.98 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.003867, allocations: 18.11 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003888, allocations: 4 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.003986, allocations: 39.91 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.004006, allocations: 7.984 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.004034, allocations: 11.94 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.004201, allocations: 79.7 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004204, allocations: 3.344 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004205, allocations: 0 / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.004209, allocations: 0 / 0.8793 GB, free: 4.762 MB / 0.8386 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.0005097/0.004719, allocations: 384.1 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004756, allocations: 8.031 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.005637, allocations: 153.5 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.005755, allocations: 112.6 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005768, allocations: 5.453 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.005786, allocations: 4.375 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.006221, allocations: 151.2 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006229, allocations: 192 / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.006247, allocations: 9.406 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.006251, allocations: 384 / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.006868, allocations: 213.2 kB / 0.8803 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.007704, allocations: 382.3 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.008518, allocations: 224.3 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.008779, allocations: 76.73 kB / 0.881 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.008805, allocations: 5.469 kB / 0.881 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.008837, allocations: 37.39 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.008838, allocations: 0 / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0008584/0.009696, allocations: 227.9 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.00975, allocations: 51.41 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.009888, allocations: 177.4 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.009912, allocations: 25.7 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.01, allocations: 142.8 kB / 0.8816 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.01003, allocations: 11.84 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.01009, allocations: 31.31 kB / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003377/0.01043, allocations: 0.4884 MB / 0.8821 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.01068, allocations: 67.92 kB / 0.8822 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.01092, allocations: 68.12 kB / 0.8823 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.01136, allocations: 127.6 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01136, allocations: 0 / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000536/0.0119, allocations: 165.5 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01192, allocations: 4 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01192, allocations: 3.984 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01193, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.01213, allocations: 27.91 kB / 0.8826 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.01214, allocations: 4 kB / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01227, allocations: 11.98 kB / 0.8826 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01228, allocations: 0 / 0.8826 GB, free: 1.227 MB / 0.8386 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.0001297/0.01241, allocations: 168.6 kB / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.01245, allocations: 11.89 kB / 0.8828 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.01249, allocations: 4 kB / 0.8828 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01249, allocations: 0 / 0.8828 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.0125, allocations: 0 / 0.8828 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.0125, allocations: 0 / 0.8828 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.01274, allocations: 156.6 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01274, allocations: 0 / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.01291, allocations: 19.97 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.01292, allocations: 7.938 kB / 0.8829 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.01294, allocations: 7.984 kB / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01294, allocations: 0 / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01294, allocations: 0 / 0.8829 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.01357, allocations: 303.8 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.01359, allocations: 7.953 kB / 0.8832 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.01361, allocations: 3.938 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.01378, allocations: 23.97 kB / 0.8833 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.01381, allocations: 0 / 0.8833 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.01383, allocations: 7.984 kB / 0.8833 GB, free: 464 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.01391, allocations: 127.5 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01391, allocations: 3.938 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002282/0.01414, allocations: 12 kB / 0.8834 GB, free: 320 kB / 0.8386 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.0001232/0.01426, allocations: 95.25 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.01482, allocations: 155.5 kB / 0.8836 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01483, allocations: 0 / 0.8836 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.01512, allocations: 87.55 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01535, allocations: 6.344 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.01612, allocations: 234 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.041e-05/0.0162, allocations: 71.33 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.01628, allocations: 11.98 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01634, allocations: 12.5 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.01634, allocations: 0 / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.00391/0.02025, allocations: 0.974 MB / 0.885 GB, free: 14.63 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.57627538999077]