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.001248/0.001248, allocations: 81.17 kB / 19.87 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.001371/0.001371, allocations: 169 kB / 23.27 MB, free: 1.219 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.057/1.057, allocations: 177.1 MB / 203.7 MB, free: 5.5 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 2.578/2.578, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+..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.[0-9,]+..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.162e-05, allocations: 9.062 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002303/0.002335, allocations: 1.529 MB / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003688/0.002704, allocations: 139.5 kB / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.002742, allocations: 0 / 0.8914 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.00279, allocations: 3.938 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.002866, allocations: 0 / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.003099, allocations: 39.89 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.003187, allocations: 39.86 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003301, allocations: 15.92 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.003359, allocations: 23.92 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.003401, allocations: 19.97 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.003418, allocations: 8 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.003498, allocations: 27.97 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.003525, allocations: 11.94 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.003543, allocations: 11.98 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.003661, allocations: 67.73 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003664, allocations: 0 / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003664, allocations: 0 / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003669, allocations: 0 / 0.8916 GB, free: 7.805 MB / 0.8542 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.000337/0.004006, allocations: 384.5 kB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.004046, allocations: 8.625 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.004383, allocations: 84.78 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.004464, allocations: 112.6 kB / 0.8922 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004474, allocations: 384 / 0.8922 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.004494, allocations: 8.359 kB / 0.8922 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.004672, allocations: 102.9 kB / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.00468, allocations: 4.188 kB / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.004691, allocations: 8.375 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004697, allocations: 4.312 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.017e-05/0.004747, allocations: 31.92 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.005145, allocations: 305.3 kB / 0.8926 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.005321, allocations: 86.94 kB / 0.8927 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.00535, allocations: 19.75 kB / 0.8927 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.005371, allocations: 7.969 kB / 0.8928 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.005394, allocations: 41.33 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005395, allocations: 0 / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001785/0.005573, allocations: 61.64 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.005597, allocations: 55.34 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.005663, allocations: 166 kB / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.005676, allocations: 33.64 kB / 0.8931 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.005726, allocations: 138.8 kB / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.005746, allocations: 15.89 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.005782, allocations: 27.38 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.005907, allocations: 0.4884 MB / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.005932, allocations: 4 kB / 0.8937 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.005955, allocations: 11.98 kB / 0.8938 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.655e-05/0.006002, allocations: 23.69 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006004, allocations: 0 / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.501e-05/0.006089, allocations: 49.69 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006102, allocations: 11.94 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006107, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.006116, allocations: 4 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.006199, allocations: 23.91 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006202, allocations: 0 / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.006245, allocations: 11.98 kB / 0.8939 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.006252, allocations: 0 / 0.8939 GB, free: 5.305 MB / 0.8542 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 7.329e-05/0.006326, allocations: 164.5 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.006345, allocations: 7.891 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.00638, allocations: 16 kB / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006381, allocations: 0 / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.00639, allocations: 0 / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006393, allocations: 0 / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.006504, allocations: 113.2 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006505, allocations: 0 / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.00656, allocations: 19.97 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006561, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.006568, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006569, allocations: 3.938 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00657, allocations: 0 / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.00671, allocations: 220.1 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.006715, allocations: 3.938 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006726, allocations: 0 / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.006786, allocations: 15.92 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.006813, allocations: 16.02 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.006817, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.006853, allocations: 127.5 kB / 0.8946 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006853, allocations: 0 / 0.8946 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001393/0.006992, allocations: 12 kB / 0.8946 GB, free: 4.535 MB / 0.8542 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.569e-05/0.007068, allocations: 95.25 kB / 0.8947 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/0.007156, allocations: 31.67 kB / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.007158, allocations: 0 / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.00719, allocations: 27.61 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.007359, allocations: 11.94 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.007665, allocations: 166 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.0077, allocations: 63.58 kB / 0.8949 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.007732, allocations: 4 kB / 0.8949 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.0078, allocations: 78.2 kB / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.0078, allocations: 0 / 0.895 GB, free: 4 MB / 0.8542 GB Notification: Performance of Templates: time 0.002316/0.01012, allocations: 1.027 MB / 0.896 GB, free: 2.984 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.9074700702913105]