Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009815/0.0009815, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001043/0.001043, allocations: 165 kB / 24.28 MB, free: 276 kB / 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.9446/0.9446, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.604e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001732/0.001748, allocations: 1.518 MB / 0.813 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.002057, allocations: 136.7 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.002092, allocations: 0 / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.002133, allocations: 3.938 kB / 0.8132 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.002193, allocations: 4.562 kB / 0.8132 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.002407, allocations: 38.3 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.002494, allocations: 39.91 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.002593, allocations: 11.94 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.002641, allocations: 23.92 kB / 0.8133 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.002675, allocations: 19.97 kB / 0.8133 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.002689, allocations: 4 kB / 0.8133 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.002758, allocations: 33.31 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.002775, allocations: 15.92 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.002795, allocations: 8 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.002909, allocations: 63.73 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002911, allocations: 1.531 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002912, allocations: 0 / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.002915, allocations: 0 / 0.8134 GB, free: 164 kB / 0.7605 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.0003465/0.003262, allocations: 381 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.003295, allocations: 8.031 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/0.003744, allocations: 154.8 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.003824, allocations: 121 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003833, allocations: 384 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.003847, allocations: 9.75 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.004067, allocations: 132 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004075, allocations: 8.109 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.004087, allocations: 4.375 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004093, allocations: 4.375 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.004178, allocations: 40.86 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.004612, allocations: 337.5 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.004824, allocations: 93.34 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.004867, allocations: 27.73 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.004885, allocations: 3.938 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.004905, allocations: 36.36 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.004906, allocations: 0 / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001941/0.0051, allocations: 73.66 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005126, allocations: 51.41 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.005199, allocations: 177.9 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.005213, allocations: 25.7 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.005259, allocations: 138.8 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.00528, allocations: 7.953 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.005316, allocations: 27.86 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.005418, allocations: 494.1 kB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.005453, allocations: 15.98 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.005482, allocations: 8 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.00554, allocations: 27.69 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005541, allocations: 1.688 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001069/0.005648, allocations: 69.56 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.005658, allocations: 4 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005662, allocations: 3.938 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005673, allocations: 0.9062 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.005769, allocations: 23.97 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005774, allocations: 0.5312 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.005824, allocations: 16.83 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.005832, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 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.081e-05/0.005892, allocations: 161.4 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.005912, allocations: 7.938 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.005939, allocations: 9.281 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005941, allocations: 0 / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.005944, allocations: 0.8438 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005946, allocations: 0 / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.006057, allocations: 145.6 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006058, allocations: 0 / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.006123, allocations: 21.34 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006126, allocations: 7.938 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.006134, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006135, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006136, allocations: 0.9375 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.006272, allocations: 211.9 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-06/0.006276, allocations: 1.125 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.00629, allocations: 3.938 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.006355, allocations: 15.98 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.006384, allocations: 9.109 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.006388, allocations: 0 / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.006424, allocations: 131.2 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006424, allocations: 1.031 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001473/0.006571, allocations: 15.95 kB / 0.8165 GB, free: 12.71 MB / 0.7761 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.114e-05/0.006632, allocations: 92.41 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.006747, allocations: 39.61 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006749, allocations: 0.5 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.006791, allocations: 29.42 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.006963, allocations: 11.94 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.007332, allocations: 184.2 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.007366, allocations: 59.34 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.007412, allocations: 12.83 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.007453, allocations: 12.5 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.007454, allocations: 0 / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.002211/0.009665, allocations: 0.9675 MB / 0.8179 GB, free: 11.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.902418473968282]