Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01015/0.01015, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00223/0.00223, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.617/2.617, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 62.81 kB / 0.9508 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002588/0.3688, allocations: 1.46 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004238/0.3692, allocations: 148.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.3693, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.3693, allocations: 3.984 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.3694, allocations: 7.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3697, allocations: 31.89 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3698, allocations: 43.86 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3699, allocations: 15.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.37, allocations: 23.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.37, allocations: 19.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.37, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.3701, allocations: 35.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3702, allocations: 7.984 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3702, allocations: 15.88 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3703, allocations: 71.72 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3704, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3704, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3704, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 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.0004695/0.3708, allocations: 359.4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3709, allocations: 12.02 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3719, allocations: 208.5 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3721, allocations: 172.3 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3721, allocations: 8.375 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3721, allocations: 384 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.3727, allocations: 190 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3727, allocations: 4.188 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3728, allocations: 7.875 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3728, allocations: 3.984 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.3737, allocations: 279.6 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.3746, allocations: 453.1 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3758, allocations: 286.1 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003648/0.3762, allocations: 96.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3762, allocations: 7.984 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3762, allocations: 34.56 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3762, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001222/0.3775, allocations: 309.2 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3775, allocations: 55.34 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3777, allocations: 129.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3777, allocations: 25.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.3778, allocations: 92.12 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3778, allocations: 7.844 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.3779, allocations: 17.72 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.378, allocations: 322.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3784, allocations: 99.88 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3787, allocations: 87.88 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.3794, allocations: 172.6 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3794, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007278/0.3802, allocations: 213.4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3802, allocations: 7.984 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3802, allocations: 7.938 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3802, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3805, allocations: 31.95 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3805, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3807, allocations: 31.95 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3807, allocations: 3.984 kB / 1.093 GB, free: 11.71 MB / 0.8575 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 8.756e-05/0.3808, allocations: 121.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3808, allocations: 7.906 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3809, allocations: 7.906 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3809, allocations: 3.984 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3809, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3809, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3811, allocations: 209.5 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3811, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3814, allocations: 31.95 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3814, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3814, allocations: 3.984 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3814, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3814, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/0.3822, allocations: 319.5 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.3823, allocations: 92.98 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3823, allocations: 0 / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3825, allocations: 23.95 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3826, allocations: 7.984 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3826, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.3826, allocations: 99.58 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3826, allocations: 4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002397/0.3829, allocations: 16 kB / 1.094 GB, free: 10.68 MB / 0.8575 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.0001262/0.383, allocations: 99.19 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.3838, allocations: 199.7 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3838, allocations: 4 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.3842, allocations: 91.88 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3844, allocations: 8 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.3853, allocations: 257.3 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3856, allocations: 0.6846 MB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.644e-05/0.3857, allocations: 19.98 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.415e-05/0.3857, allocations: 15.42 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3857, allocations: 0 / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of Templates: time 0.002966/0.3887, allocations: 0.9393 MB / 1.096 GB, free: 8.32 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches