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.0008307/0.0008307, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008452/0.0008452, allocations: 173.9 kB / 23.21 MB, free: 1.34 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 0.874/0.874, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.019e-05, allocations: 10.22 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001626/0.001646, allocations: 1.479 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000304/0.00195, allocations: 143.4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.001981, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.002019, allocations: 3.938 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.002083, allocations: 11.92 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.00229, allocations: 27.91 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.549e-05/0.002375, allocations: 43.86 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.002476, allocations: 15.97 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.002523, allocations: 23.98 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.729e-05/0.00256, allocations: 15.92 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.002576, allocations: 4 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.002647, allocations: 35.91 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.002663, allocations: 7.984 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.002685, allocations: 15.92 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.002807, allocations: 71.78 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00281, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.002811, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002815, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 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.0003345/0.003149, allocations: 282.2 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.003182, allocations: 12.69 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.003723, allocations: 212.5 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.003799, allocations: 121.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.00381, allocations: 384 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.003827, allocations: 8.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.004139, allocations: 190 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004146, allocations: 192 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.004157, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004163, allocations: 8.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.004578, allocations: 287.5 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.005093, allocations: 365.3 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.005878, allocations: 294.2 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.006048, allocations: 100.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.006068, allocations: 3.938 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.006084, allocations: 30.56 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.006086, allocations: 3.984 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0005807/0.006667, allocations: 305.3 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.006695, allocations: 55.41 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.006751, allocations: 109.8 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006763, allocations: 25.7 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.0068, allocations: 92.08 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.006822, allocations: 12.67 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.006854, allocations: 17.66 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.006925, allocations: 322.8 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.007092, allocations: 99.81 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.007252, allocations: 95.88 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.007557, allocations: 164.6 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007559, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003645/0.007923, allocations: 221.3 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007937, allocations: 11.98 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00794, allocations: 0 / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007951, allocations: 7.938 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.008067, allocations: 31.89 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.008071, allocations: 0 / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.00815, allocations: 27.95 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.008159, allocations: 3.984 kB / 1.006 GB, free: 7.461 MB / 0.9636 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 5.871e-05/0.008217, allocations: 121.8 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.008232, allocations: 3.938 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.008266, allocations: 12 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008269, allocations: 3.984 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.008273, allocations: 0 / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008275, allocations: 0 / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.008387, allocations: 141.3 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.008388, allocations: 0 / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.008476, allocations: 31.95 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.008478, allocations: 7.938 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008487, allocations: 3.984 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008488, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008488, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.008869, allocations: 311.2 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.008874, allocations: 4 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.008886, allocations: 7.938 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.008981, allocations: 23.95 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.00901, allocations: 11.98 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.009015, allocations: 0 / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.009045, allocations: 91.27 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009045, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001458/0.009191, allocations: 12 kB / 1.007 GB, free: 6.625 MB / 0.9636 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 6.488e-05/0.009256, allocations: 95.25 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.009622, allocations: 192.1 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009623, allocations: 4 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.009795, allocations: 103.8 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.009955, allocations: 4 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.01045, allocations: 282.5 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.01049, allocations: 83.27 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.01054, allocations: 12.44 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of SimCode: time 3.11e-07/0.01054, allocations: 0 / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of Templates: time 0.001628/0.01217, allocations: 1.166 MB / 1.009 GB, free: 4.641 MB / 0.9636 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: 6.38536802213639]