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.001801/0.001801, allocations: 99.88 kB / 16.27 MB, free: 6.414 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.002002/0.002001, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.467/1.467, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.569/2.569, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 68.64 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3446, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003332/0.348, allocations: 1.471 MB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.3485, allocations: 136.4 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.3485, allocations: 4 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.3486, allocations: 3.938 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.3487, allocations: 3.938 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.349, allocations: 39.83 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3491, allocations: 47.84 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3492, allocations: 20 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.3493, allocations: 19.92 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.3493, allocations: 23.91 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3494, allocations: 4 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3495, allocations: 31.97 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3495, allocations: 4 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.3495, allocations: 23.86 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.3497, allocations: 59.86 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3497, allocations: 0 / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3497, allocations: 7.938 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3497, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 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.0005245/0.3503, allocations: 363.6 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3503, allocations: 8.922 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.3515, allocations: 216.5 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3517, allocations: 172.2 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3517, allocations: 4.375 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3517, allocations: 384 / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.3524, allocations: 194 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3524, allocations: 192 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3524, allocations: 3.938 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3524, allocations: 4 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.3533, allocations: 279.6 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3543, allocations: 449.1 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3555, allocations: 282.3 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.3559, allocations: 100.7 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3559, allocations: 4 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.356, allocations: 34.56 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.356, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001263/0.3572, allocations: 313.2 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3573, allocations: 55.41 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3574, allocations: 114.1 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3575, allocations: 29.69 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3575, allocations: 88.14 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3576, allocations: 7.938 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.3576, allocations: 25.64 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3578, allocations: 318.8 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3582, allocations: 99.88 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.3586, allocations: 91.88 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.3593, allocations: 180.8 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3593, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007897/0.3601, allocations: 217.3 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3601, allocations: 4 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3601, allocations: 4 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3601, allocations: 0 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3604, allocations: 31.95 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3604, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3606, allocations: 31.94 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3606, allocations: 8 kB / 1.023 GB, free: 4.855 MB / 0.795 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 0.0001204/0.3608, allocations: 119.3 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.3608, allocations: 3.906 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.3609, allocations: 11.89 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3609, allocations: 0 / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3609, allocations: 0 / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3609, allocations: 3.938 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.3612, allocations: 209.5 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3612, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3615, allocations: 31.95 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3615, allocations: 3.984 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3615, allocations: 8 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3615, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3615, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.3623, allocations: 311.2 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3624, allocations: 85.02 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3625, allocations: 0 / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.3627, allocations: 31.94 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3627, allocations: 4 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3628, allocations: 0 / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.3629, allocations: 107.1 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3629, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002387/0.3631, allocations: 12 kB / 1.024 GB, free: 3.832 MB / 0.795 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.0001695/0.3633, allocations: 99.19 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008229/0.3641, allocations: 199.7 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3641, allocations: 3.938 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.3645, allocations: 95.88 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3648, allocations: 4 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3658, allocations: 292.6 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3662, allocations: 0.6923 MB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3663, allocations: 19.42 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3663, allocations: 0 / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of Templates: time 0.003074/0.3694, allocations: 1.158 MB / 1.027 GB, free: 1.211 MB / 0.795 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/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