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.001262/0.001262, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001591/0.001591, allocations: 163.1 kB / 24.86 MB, free: 8.891 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.9986/0.9986, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.781/1.781, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+..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.[0-9,]+..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.159e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002048/0.002069, allocations: 1.519 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.002391, allocations: 141.8 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.00242, allocations: 0 / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.00246, allocations: 3.938 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.002532, allocations: 11.86 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.002731, allocations: 33.03 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.002816, allocations: 35.92 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.002919, allocations: 23.84 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.002975, allocations: 20.89 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.003012, allocations: 15.98 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.00303, allocations: 4 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.00311, allocations: 33.36 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.003126, allocations: 11.94 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.003143, allocations: 8 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003263, allocations: 63.8 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003266, allocations: 1.062 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003266, allocations: 0 / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.00327, allocations: 1.562 kB / 0.7902 GB, free: 10.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003468/0.003617, allocations: 380.5 kB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.00365, allocations: 8.031 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.004037, allocations: 86.33 kB / 0.7906 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.004124, allocations: 121.8 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004134, allocations: 384 / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.004146, allocations: 8.375 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.004336, allocations: 100.9 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004342, allocations: 192 / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004352, allocations: 384 / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.004357, allocations: 8.312 kB / 0.7909 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.004411, allocations: 38.09 kB / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.004808, allocations: 317.3 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.005002, allocations: 84.16 kB / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.005033, allocations: 15.75 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.005048, allocations: 1.188 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.00507, allocations: 41.33 kB / 0.7913 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.005072, allocations: 0 / 0.7913 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001678/0.00524, allocations: 62.77 kB / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.005268, allocations: 55.41 kB / 0.7915 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.005341, allocations: 171.3 kB / 0.7916 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.005354, allocations: 25.7 kB / 0.7916 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.005405, allocations: 138.8 kB / 0.7918 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.005425, allocations: 7.953 kB / 0.7918 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.005466, allocations: 29.11 kB / 0.7918 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.005585, allocations: 496.1 kB / 0.7923 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.005624, allocations: 11.98 kB / 0.7923 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.005648, allocations: 8.188 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.005702, allocations: 32.66 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005704, allocations: 0 / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.896e-05/0.005803, allocations: 62.2 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.005819, allocations: 11.94 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005823, allocations: 1.938 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.005831, allocations: 0 / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.005927, allocations: 19.97 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.00593, allocations: 320 / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.00598, allocations: 14.45 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.005987, allocations: 0 / 0.7924 GB, free: 7.812 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 (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 6.944e-05/0.006057, allocations: 156.6 kB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.00608, allocations: 7.938 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.006111, allocations: 12.7 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.006112, allocations: 3.938 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006114, allocations: 0.5312 kB / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006117, allocations: 0 / 0.7926 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.006234, allocations: 114.9 kB / 0.7927 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006235, allocations: 0 / 0.7927 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.006346, allocations: 23.91 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.006347, allocations: 0.875 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006354, allocations: 0 / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.006358, allocations: 3.938 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006359, allocations: 0.8438 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.006492, allocations: 203.9 kB / 0.7929 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-06/0.006497, allocations: 5.281 kB / 0.793 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006508, allocations: 0 / 0.793 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.006586, allocations: 20.73 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.00661, allocations: 0 / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.006617, allocations: 7.984 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.006652, allocations: 132 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006652, allocations: 0 / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001528/0.006805, allocations: 17.52 kB / 0.7931 GB, free: 7.066 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 (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 7.864e-05/0.006884, allocations: 95.19 kB / 0.7932 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.364e-05/0.006977, allocations: 40.81 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006978, allocations: 0 / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.007015, allocations: 19.69 kB / 0.7933 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.007189, allocations: 17.14 kB / 0.7933 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.007504, allocations: 162.1 kB / 0.7934 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.894e-05/0.007543, allocations: 63.28 kB / 0.7935 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.007583, allocations: 10.58 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.007654, allocations: 74.72 kB / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.007654, allocations: 0 / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.003021/0.01068, allocations: 1.049 MB / 0.7946 GB, free: 5.512 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.962618081830442]