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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001175/0.001175, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001515/0.001515, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.014/3.014, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 9.125 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3753, allocations: 159.6 MB / 1.058 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001637/0.377, allocations: 1.171 MB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.3774, allocations: 139.7 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.3774, allocations: 0 / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.3775, allocations: 0 / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.3776, allocations: 7.938 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3778, allocations: 23.97 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3779, allocations: 39.91 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.378, allocations: 19.98 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.3781, allocations: 11.94 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.3781, allocations: 15.92 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3782, allocations: 0 / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.3782, allocations: 31.91 kB / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3783, allocations: 7.938 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.3783, allocations: 29.7 kB / 1.059 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/0.3784, allocations: 43.91 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3784, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3784, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.3784, allocations: 4 kB / 1.06 GB, free: 3.703 MB / 0.8106 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.0004746/0.3789, allocations: 359.4 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.379, allocations: 8.031 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.3801, allocations: 247.6 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3802, allocations: 170.9 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3802, allocations: 7.938 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3802, allocations: 7.953 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.3808, allocations: 209.5 kB / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3808, allocations: 0 / 1.06 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.3809, allocations: 4 kB / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3809, allocations: 0 / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/0.3817, allocations: 323.6 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.3826, allocations: 457.2 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3837, allocations: 334.2 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.3841, allocations: 120.8 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3841, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3841, allocations: 34.56 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.3841, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001163/0.3853, allocations: 369.2 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3854, allocations: 51.41 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3855, allocations: 133.9 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3855, allocations: 29.64 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.3856, allocations: 84.14 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3856, allocations: 19.75 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.3856, allocations: 0 / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3858, allocations: 314.8 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.3861, allocations: 115.9 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.3865, allocations: 111.9 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.3868, allocations: 103.9 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3869, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007161/0.3876, allocations: 253.4 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3876, allocations: 7.984 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3876, allocations: 8 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3877, allocations: 0 / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3879, allocations: 39.95 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3879, allocations: 4 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.3881, allocations: 39.91 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3881, allocations: 7.984 kB / 1.063 GB, free: 15.59 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.292e-05/0.3882, allocations: 113.8 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3883, allocations: 3.906 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3883, allocations: 11.91 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3883, allocations: 3.984 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3884, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3884, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3886, allocations: 209.5 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3886, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.3889, allocations: 43.95 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3889, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3889, allocations: 11.98 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3889, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3889, allocations: 3.938 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.3897, allocations: 351.2 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.3897, allocations: 77.48 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3898, allocations: 4 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.39, allocations: 35.95 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.39, allocations: 11.92 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3901, allocations: 3.938 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.3901, allocations: 99.27 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3901, allocations: 0 / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002394/0.3904, allocations: 12 kB / 1.064 GB, free: 14.51 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.3905, allocations: 91.25 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.3913, allocations: 243.7 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3913, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.3916, allocations: 115.9 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3919, allocations: 9.984 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.3928, allocations: 303.7 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3932, allocations: 0.6887 MB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.3933, allocations: 19.98 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.3933, allocations: 15.42 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3933, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.002986/0.3963, allocations: 0.8106 MB / 1.066 GB, free: 12.18 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches