Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 165 kB / 24.17 MB, free: 324 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9315/0.9315, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.864/1.864, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.185e-05, allocations: 5.688 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00195/0.001972, allocations: 1.528 MB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.002288, allocations: 145 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.00232, allocations: 0.5469 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.002363, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.002434, allocations: 10.77 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.002634, allocations: 37.67 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.002715, allocations: 40.06 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.002806, allocations: 15.98 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.002856, allocations: 26.05 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.002893, allocations: 13.73 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.002907, allocations: 4 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.002984, allocations: 36.75 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.003, allocations: 5.312 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.003019, allocations: 17.94 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.003123, allocations: 64.31 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-06/0.003124, allocations: 1.062 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003125, allocations: 0 / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.135e-06/0.003129, allocations: 0 / 0.7619 GB, free: 4.746 MB / 0.7136 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.0002568/0.003385, allocations: 253.5 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.003414, allocations: 8.75 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.003726, allocations: 78.41 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.0038, allocations: 117.6 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.003811, allocations: 5.406 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.003825, allocations: 4.375 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.003992, allocations: 109.1 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.003998, allocations: 192 / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.004007, allocations: 384 / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004013, allocations: 4.375 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.386e-05/0.004057, allocations: 23.94 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.004385, allocations: 225.3 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.004551, allocations: 63.91 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.004579, allocations: 13.59 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004594, allocations: 5.562 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.004612, allocations: 30.56 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004613, allocations: 0 / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001351/0.004748, allocations: 61.56 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.004776, allocations: 52.03 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.004823, allocations: 110.8 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.004835, allocations: 30.73 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.00486, allocations: 84.12 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.004881, allocations: 20.98 kB / 0.7631 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.004912, allocations: 13.72 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.00498, allocations: 322.8 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.005003, allocations: 5.562 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/0.005024, allocations: 8 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.005065, allocations: 20.84 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005067, allocations: 3.938 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.48e-05/0.005141, allocations: 48.44 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005152, allocations: 7.938 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005156, allocations: 0 / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005166, allocations: 0 / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.005251, allocations: 20.3 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.005254, allocations: 0 / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.005301, allocations: 18.08 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.005309, allocations: 4 kB / 0.7636 GB, free: 2.867 MB / 0.7136 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.0003102/0.005619, allocations: 113.8 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.005636, allocations: 0 / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.005664, allocations: 16.86 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005665, allocations: 0 / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005667, allocations: 4.656 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005669, allocations: 0 / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/0.005765, allocations: 84.28 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005766, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.005821, allocations: 19.91 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005822, allocations: 4 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.005829, allocations: 4 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.00583, allocations: 0 / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.005832, allocations: 9.109 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.005928, allocations: 135.5 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-06/0.005935, allocations: 12.45 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.005946, allocations: 2.844 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.006008, allocations: 11.98 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.006032, allocations: 7.922 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.006037, allocations: 4 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.352e-05/0.006051, allocations: 16.84 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006051, allocations: 0 / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001273/0.006178, allocations: 15.98 kB / 0.764 GB, free: 2.371 MB / 0.7136 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 8.581e-05/0.006264, allocations: 78.8 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.006344, allocations: 24.84 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006346, allocations: 4 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.006373, allocations: 12.86 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.0065, allocations: 17.41 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.006803, allocations: 157 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.006836, allocations: 68.31 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.006867, allocations: 3.031 kB / 0.7644 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.006928, allocations: 51.38 kB / 0.7644 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.006929, allocations: 3.844 kB / 0.7644 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002186/0.009115, allocations: 0.9483 MB / 0.7654 GB, free: 1 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.933537401724607]