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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 110.2 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 59.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002656/1.054, allocations: 1.463 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/1.055, allocations: 143.6 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/1.055, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/1.055, allocations: 3.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/1.055, allocations: 19.91 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/1.055, allocations: 27.91 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/1.055, allocations: 39.86 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/1.056, allocations: 19.98 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/1.056, allocations: 19.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/1.056, allocations: 27.91 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/1.056, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/1.056, allocations: 23.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/1.056, allocations: 19.92 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/1.056, allocations: 11.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/1.056, allocations: 67.78 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.056, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/1.056, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.802e-06/1.056, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 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.0004552/1.057, allocations: 363.2 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.057, allocations: 8.031 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.058, allocations: 216.5 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.058, allocations: 162.2 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.058, allocations: 8.375 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/1.058, allocations: 384 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/1.058, allocations: 198 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.058, allocations: 192 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.058, allocations: 3.938 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.058, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/1.059, allocations: 283.5 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/1.06, allocations: 445.2 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/1.061, allocations: 294.2 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/1.062, allocations: 100.7 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.062, allocations: 0 / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.062, allocations: 46.42 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/1.062, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.001201/1.063, allocations: 301.3 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.063, allocations: 59.41 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.063, allocations: 113.8 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/1.063, allocations: 29.7 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/1.063, allocations: 88.14 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/1.063, allocations: 11.8 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/1.063, allocations: 13.72 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.064, allocations: 326.8 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/1.064, allocations: 95.88 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/1.064, allocations: 103.8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/1.065, allocations: 168.6 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.065, allocations: 4 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007466/1.066, allocations: 205.5 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.066, allocations: 8 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.066, allocations: 4 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.066, allocations: 0 / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/1.066, allocations: 31.94 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.066, allocations: 4 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/1.066, allocations: 27.95 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/1.066, allocations: 4 kB / 1.214 GB, free: 7.852 MB / 0.9356 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 0.0001023/1.066, allocations: 121.7 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/1.067, allocations: 11.91 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/1.067, allocations: 7.906 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.067, allocations: 0 / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.067, allocations: 0 / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/1.067, allocations: 85.03 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/1.067, allocations: 4 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/1.067, allocations: 31.89 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.067, allocations: 8 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001048/1.068, allocations: 312.7 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008925/1.069, allocations: 394.8 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003577/1.069, allocations: 96.3 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.592e-05/1.069, allocations: 103.2 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of Backend: time 5.91e-07/1.069, allocations: 0 / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007758/1.07, allocations: 188.1 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006042/1.071, allocations: 0.5844 MB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.005145/1.076, allocations: 1.679 MB / 1.217 GB, free: 4.137 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches