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.0008092/0.0008092, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00563/0.00563, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.75/2.75, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6927, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001755/0.6945, allocations: 1.195 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.6949, allocations: 136.5 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.6949, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.695, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.6951, allocations: 7.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.6952, allocations: 27.95 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.6953, allocations: 43.86 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.6955, allocations: 19.98 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.6955, allocations: 11.94 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.6955, allocations: 11.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.6956, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.6957, allocations: 31.97 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.6957, allocations: 7.984 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.6957, allocations: 37.58 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.6959, allocations: 59.84 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6959, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6959, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6959, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 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.0004086/0.6963, allocations: 357.3 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6963, allocations: 8.031 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6975, allocations: 252.5 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.6976, allocations: 168.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6977, allocations: 4.375 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.6977, allocations: 4.375 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.6983, allocations: 210 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6983, allocations: 4.188 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.6983, allocations: 7.938 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6984, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.6993, allocations: 323.6 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.7002, allocations: 465 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.7015, allocations: 334.2 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.7019, allocations: 124.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.7019, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.702, allocations: 30.56 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.702, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001345/0.7033, allocations: 365.3 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.7034, allocations: 51.41 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.7035, allocations: 125.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.7035, allocations: 25.7 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.7036, allocations: 96.11 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.7036, allocations: 7.906 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.7036, allocations: 9.719 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7037, allocations: 322.8 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.7041, allocations: 115.9 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.7045, allocations: 111.9 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.7053, allocations: 216.6 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7053, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008311/0.7062, allocations: 249.8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.7062, allocations: 15.92 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7062, allocations: 3.984 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7062, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.7065, allocations: 39.95 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7065, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.7067, allocations: 43.86 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.7068, allocations: 3.984 kB / 1.028 GB, free: 10.02 MB / 0.7794 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.714e-05/0.7069, allocations: 122.3 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.7069, allocations: 4 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.707, allocations: 11.89 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.707, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.707, allocations: 7.938 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.707, allocations: 0 / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.7072, allocations: 209.8 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7072, allocations: 4 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.7075, allocations: 39.95 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7075, allocations: 4 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.7075, allocations: 11.92 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7075, allocations: 0 / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7075, allocations: 0 / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.7084, allocations: 351.2 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.7085, allocations: 81.11 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.7085, allocations: 0 / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.7088, allocations: 35.95 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.7088, allocations: 7.984 kB / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.7088, allocations: 0 / 1.029 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.7089, allocations: 103.2 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7089, allocations: 0 / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002418/0.7091, allocations: 12 kB / 1.029 GB, free: 8.938 MB / 0.7794 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.0001185/0.7092, allocations: 99.19 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000862/0.7101, allocations: 235.7 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7101, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.7105, allocations: 119.9 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.7108, allocations: 7.938 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.7118, allocations: 304.3 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.7121, allocations: 0.6887 MB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.7122, allocations: 19.98 kB / 1.031 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.7122, allocations: 11.44 kB / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7122, allocations: 0 / 1.031 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.002916/0.7151, allocations: 0.836 MB / 1.032 GB, free: 6.578 MB / 0.7794 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