Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01152/0.01152, allocations: 95.83 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.003408/0.003408, allocations: 196 kB / 16.68 MB, free: 5.969 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.14 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3251, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002355/0.3275, allocations: 1.47 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00037/0.3279, allocations: 144.4 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3279, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.328, allocations: 3.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.328, allocations: 7.922 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.3283, allocations: 35.89 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.3284, allocations: 35.92 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3285, allocations: 19.98 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.3285, allocations: 15.94 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.3286, allocations: 27.91 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3286, allocations: 4 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.3287, allocations: 31.97 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3287, allocations: 11.92 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.3288, allocations: 19.88 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3289, allocations: 63.78 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3289, allocations: 0 / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3289, allocations: 0 / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3289, allocations: 4 kB / 1.168 GB, free: 4.871 MB / 0.92 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.0004535/0.3294, allocations: 367.2 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3294, allocations: 8.031 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3305, allocations: 208.5 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3306, allocations: 172.3 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3307, allocations: 384 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3307, allocations: 12.36 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.3312, allocations: 194 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3313, allocations: 4.125 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3313, allocations: 7.938 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3313, allocations: 0 / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.3321, allocations: 279.6 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.333, allocations: 449.1 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.334, allocations: 290.1 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.3343, allocations: 100.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3344, allocations: 4 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3344, allocations: 34.55 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3344, allocations: 0 / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001113/0.3355, allocations: 313.2 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.3356, allocations: 51.41 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.3356, allocations: 117.8 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3357, allocations: 25.7 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.3357, allocations: 100.1 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3358, allocations: 7.906 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.3358, allocations: 13.72 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3359, allocations: 326.8 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.3363, allocations: 87.88 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.3366, allocations: 99.88 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.3372, allocations: 168.9 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3372, allocations: 7.938 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006824/0.3379, allocations: 213.4 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3379, allocations: 4 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3379, allocations: 0 / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.338, allocations: 0 / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3382, allocations: 39.94 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3382, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3384, allocations: 31.95 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3384, allocations: 3.984 kB / 1.172 GB, free: 0.9805 MB / 0.92 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 9.237e-05/0.3385, allocations: 114.4 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3386, allocations: 11.89 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.3386, allocations: 15.91 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3386, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3386, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3386, allocations: 3.984 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.3389, allocations: 217.5 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3389, allocations: 384 / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.3391, allocations: 35.89 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3391, allocations: 0 / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3391, allocations: 0 / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3391, allocations: 7.938 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3391, allocations: 3.984 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.3399, allocations: 315.2 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3399, allocations: 77.11 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.34, allocations: 4 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.3402, allocations: 27.95 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3402, allocations: 7.984 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.3402, allocations: 0 / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.3403, allocations: 95.27 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000239/0.3406, allocations: 12 kB / 1.173 GB, free: 15.95 MB / 0.9356 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.0001162/0.3407, allocations: 111.1 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007151/0.3414, allocations: 191.7 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3414, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.3417, allocations: 95.88 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.342, allocations: 8 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.3429, allocations: 261.1 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3431, allocations: 0.6884 MB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.471e-05/0.3432, allocations: 19.98 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.3433, allocations: 15.42 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.3433, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of Templates: time 0.002938/0.3462, allocations: 0.9389 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches