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.001086/0.001086, 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.001665/0.001665, allocations: 160.8 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.93/1.93, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] 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.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.679e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.005502/0.005529, allocations: 1.514 MB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.00591, allocations: 139.5 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.005948, allocations: 0 / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.891e-05/0.005997, allocations: 8.703 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.006069, allocations: 3.938 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.006285, allocations: 36.92 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.006381, allocations: 39.86 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.00651, allocations: 17.33 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.006566, allocations: 27.91 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.006603, allocations: 15.98 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.00662, allocations: 4 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.561e-05/0.006695, allocations: 29.78 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.006714, allocations: 11.94 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.006734, allocations: 15.97 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.006855, allocations: 59.81 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.00686, allocations: 3.984 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.263e-06/0.006861, allocations: 1.344 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006866, allocations: 0 / 0.8147 GB, free: 15.52 MB / 0.7761 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.0003366/0.007202, allocations: 372.5 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.007237, allocations: 9.625 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.007605, allocations: 85.48 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.249e-05/0.007688, allocations: 125 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.007698, allocations: 2.031 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.00771, allocations: 8.375 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.007899, allocations: 106.9 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.007907, allocations: 0.8125 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.007916, allocations: 1.688 kB / 0.8153 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007922, allocations: 4.375 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.007975, allocations: 31.92 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.008358, allocations: 306.4 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.00855, allocations: 84.38 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.008581, allocations: 17.41 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.008596, allocations: 0 / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.008617, allocations: 37.33 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.008619, allocations: 3.984 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001735/0.008792, allocations: 67.27 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.008822, allocations: 55.41 kB / 0.8159 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.008888, allocations: 178 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.0089, allocations: 29.64 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.008943, allocations: 139.6 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.008963, allocations: 15.94 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.008998, allocations: 19.38 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002493/0.009247, allocations: 0.4905 MB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.009277, allocations: 8 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.009301, allocations: 8 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.009355, allocations: 27.67 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.009356, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.3e-05/0.009449, allocations: 59.73 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.009464, allocations: 11.94 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.009468, allocations: 0 / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.009477, allocations: 0 / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.009574, allocations: 20.47 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.009577, allocations: 0 / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.009626, allocations: 14.42 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009633, allocations: 0 / 0.8169 GB, free: 13.04 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.634e-05/0.0097, allocations: 156.6 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.009729, allocations: 3.938 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.009766, allocations: 18.27 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009767, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.009769, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009772, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.009885, allocations: 113.2 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.009887, allocations: 4 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.009956, allocations: 25.03 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009958, allocations: 0 / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.009966, allocations: 0.5625 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.009968, allocations: 3.938 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009969, allocations: 0.9062 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01013, allocations: 203.9 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.01013, allocations: 4.844 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.01014, allocations: 0 / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.01021, allocations: 27.3 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.01024, allocations: 3.984 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.01024, allocations: 4 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.01028, allocations: 123.2 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01028, allocations: 0 / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001486/0.01043, allocations: 15.95 kB / 0.8176 GB, free: 12.29 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 0.0001313/0.01056, allocations: 99.17 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01067, allocations: 38.2 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01068, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.01071, allocations: 23.77 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01091, allocations: 10.05 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.01129, allocations: 183 kB / 0.8179 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.01133, allocations: 60.41 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.01137, allocations: 15.05 kB / 0.818 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.01144, allocations: 70.2 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.01144, allocations: 1.562 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.002598/0.01404, allocations: 1.038 MB / 0.8191 GB, free: 10.73 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: 5.191578600555658]