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.001739/0.001739, allocations: 85.42 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001997/0.001997, allocations: 165.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 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 2.919/2.919, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.442e-06/1.442e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.548e-05, allocations: 5.938 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002608/0.002634, allocations: 1.481 MB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.003023, allocations: 135.5 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.003057, allocations: 4 kB / 1.002 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.003098, allocations: 3.938 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.003157, allocations: 3.938 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.003383, allocations: 31.89 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.003478, allocations: 39.92 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.003598, allocations: 27.91 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.003649, allocations: 15.98 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.003694, allocations: 19.98 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00371, allocations: 0 / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.0038, allocations: 35.91 kB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.00383, allocations: 11.92 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.003858, allocations: 15.92 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004009, allocations: 71.78 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004011, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004012, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.004021, allocations: 4 kB / 1.002 GB, free: 5.383 MB / 0.9512 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.0004811/0.004502, allocations: 282.2 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.004536, allocations: 12.03 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.00569, allocations: 208.5 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005816, allocations: 121.7 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.005823, allocations: 384 / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.005848, allocations: 8.359 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.006476, allocations: 190 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006488, allocations: 8.125 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.006502, allocations: 4.312 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.006506, allocations: 384 / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.00746, allocations: 287.5 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.008406, allocations: 365.3 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.009656, allocations: 290.1 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.01005, allocations: 104.8 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.01007, allocations: 3.938 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.01011, allocations: 34.56 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.01011, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001301/0.01141, allocations: 305.3 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.01146, allocations: 51.41 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.01155, allocations: 109.8 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01158, allocations: 29.7 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.01164, allocations: 92.08 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.01166, allocations: 11.89 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.01171, allocations: 17.72 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01187, allocations: 314.8 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.01228, allocations: 99.88 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.01267, allocations: 95.88 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.01341, allocations: 172.6 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01342, allocations: 3.984 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008339/0.01425, allocations: 213.4 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.01427, allocations: 18.02 kB / 1.005 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01428, allocations: 3.938 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01429, allocations: 0 / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.01456, allocations: 31.95 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.01456, allocations: 0 / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.01478, allocations: 23.95 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.0148, allocations: 7.984 kB / 1.005 GB, free: 1.762 MB / 0.9512 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.0001023/0.0149, allocations: 117.8 kB / 1.005 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.01493, allocations: 3.938 kB / 1.005 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.01497, allocations: 8 kB / 1.005 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.01498, allocations: 3.984 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01498, allocations: 3.938 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01498, allocations: 0 / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.01519, allocations: 141.6 kB / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01519, allocations: 0 / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.01544, allocations: 39.95 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01545, allocations: 3.938 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01546, allocations: 3.984 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01546, allocations: 0 / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01546, allocations: 0 / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.01636, allocations: 319.1 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.01637, allocations: 8 kB / 1.006 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.0164, allocations: 3.938 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.01664, allocations: 27.95 kB / 1.006 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.01667, allocations: 3.984 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01667, allocations: 0 / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.01673, allocations: 95.56 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01673, allocations: 0 / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002455/0.01698, allocations: 12 kB / 1.006 GB, free: 0.9219 MB / 0.9512 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.0001245/0.0171, allocations: 101.5 kB / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008435/0.01795, allocations: 191.8 kB / 1.006 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01795, allocations: 0 / 1.006 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.01838, allocations: 107.8 kB / 1.006 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01862, allocations: 4 kB / 1.007 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/0.0196, allocations: 252.7 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.01968, allocations: 75.33 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.127e-05/0.01976, allocations: 15.98 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.01982, allocations: 12.5 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.01982, allocations: 4 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of Templates: time 0.003516/0.02334, allocations: 0.9462 MB / 1.008 GB, free: 15.18 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] 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.098198227584362]