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.001498/0.001498, allocations: 109.8 kB / 16.41 MB, free: 6.469 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.001454/0.001454, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.313/2.313, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 71.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6793, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002438/0.6817, allocations: 1.467 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.6821, allocations: 138.9 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.6822, allocations: 0 / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.6822, allocations: 11.92 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.6823, allocations: 3.938 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.6825, allocations: 39.89 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.6826, allocations: 35.92 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.6827, allocations: 19.98 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.6827, allocations: 19.92 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.6828, allocations: 27.86 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.6828, allocations: 4 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.6829, allocations: 27.97 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.6829, allocations: 7.984 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.683, allocations: 27.81 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.6831, allocations: 64.34 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6831, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6831, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.6831, allocations: 4 kB / 1.169 GB, free: 1.922 MB / 0.8887 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.0004606/0.6836, allocations: 371.1 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.6836, allocations: 8.922 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.6846, allocations: 212.5 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6847, allocations: 168.3 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6848, allocations: 8.375 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6848, allocations: 384 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.6853, allocations: 194 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6853, allocations: 192 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.6854, allocations: 3.938 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.6854, allocations: 4 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.6862, allocations: 279.5 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.687, allocations: 433.3 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6881, allocations: 290.3 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.6885, allocations: 96.73 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.6885, allocations: 3.984 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6885, allocations: 38.5 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6885, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001094/0.6896, allocations: 305.4 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.6897, allocations: 59.41 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.6898, allocations: 113.8 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.6898, allocations: 25.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.6899, allocations: 100.2 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.6899, allocations: 11.84 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.69, allocations: 17.72 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6901, allocations: 322.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.6905, allocations: 95.88 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.6908, allocations: 103.8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.6915, allocations: 169 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6915, allocations: 7.984 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007159/0.6922, allocations: 201.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6922, allocations: 19.92 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6922, allocations: 3.938 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6922, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.6925, allocations: 27.95 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6925, allocations: 4 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6927, allocations: 27.95 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.6927, allocations: 7.984 kB / 1.173 GB, free: 14.04 MB / 0.9044 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.132e-05/0.6928, allocations: 121.7 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.6928, allocations: 3.953 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.6929, allocations: 15.89 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6929, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6929, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6929, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.6931, allocations: 209.5 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6931, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.6934, allocations: 35.95 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6934, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.6934, allocations: 3.984 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6934, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6934, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.6942, allocations: 315.2 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.6942, allocations: 81.11 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.6943, allocations: 3.938 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.6945, allocations: 31.95 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.6945, allocations: 3.984 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.6945, allocations: 0 / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.6946, allocations: 99.27 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6946, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002209/0.6948, allocations: 12 kB / 1.174 GB, free: 13.02 MB / 0.9044 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.0001216/0.695, allocations: 103.2 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007258/0.6957, allocations: 199.7 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6957, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.696, allocations: 95.81 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.6963, allocations: 12.22 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008605/0.6971, allocations: 269.1 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6975, allocations: 0.6884 MB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.769e-05/0.6975, allocations: 19.98 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.6976, allocations: 15.42 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.6976, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of Templates: time 0.003133/0.7007, allocations: 0.9407 MB / 1.176 GB, free: 10.63 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches