Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00137/0.00137, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00168/0.00168, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.252/2.252, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.652e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001875/0.001901, allocations: 1.521 MB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.002228, allocations: 146.1 kB / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.002264, allocations: 0 / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.002309, allocations: 8.484 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.002372, allocations: 3.047 kB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.002585, allocations: 32.78 kB / 0.8799 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.002679, allocations: 41.61 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002792, allocations: 21.12 kB / 0.8799 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.002839, allocations: 19.98 kB / 0.8799 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.002876, allocations: 19.92 kB / 0.8799 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.00289, allocations: 5.031 kB / 0.88 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.002963, allocations: 31.97 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.00298, allocations: 7.984 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.003001, allocations: 13.11 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.003125, allocations: 63.75 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003127, allocations: 0 / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.945e-06/0.00313, allocations: 5.078 kB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003134, allocations: 0 / 0.8801 GB, free: 4.715 MB / 0.8386 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.0003384/0.003472, allocations: 380.5 kB / 0.8804 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.003508, allocations: 9.094 kB / 0.8804 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/0.003977, allocations: 159 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.004065, allocations: 112.6 kB / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.004076, allocations: 384 / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004089, allocations: 8.312 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.004317, allocations: 132.4 kB / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.004323, allocations: 192 / 0.8808 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004334, allocations: 5.469 kB / 0.8808 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.004342, allocations: 384 / 0.8808 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.004424, allocations: 51.86 kB / 0.8809 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.004879, allocations: 337.7 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.005098, allocations: 97.3 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.005139, allocations: 23.61 kB / 0.8813 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.005157, allocations: 7.938 kB / 0.8813 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.005179, allocations: 44.47 kB / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.00518, allocations: 0 / 0.8814 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.005383, allocations: 61.64 kB / 0.8814 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.005412, allocations: 55.41 kB / 0.8815 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.005481, allocations: 169.9 kB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005492, allocations: 25.7 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.005539, allocations: 138.8 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.00556, allocations: 13.34 kB / 0.8818 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.005596, allocations: 23.38 kB / 0.8818 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.005704, allocations: 0.4961 MB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.005743, allocations: 4 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.005775, allocations: 16.55 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/0.005835, allocations: 28.69 kB / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005837, allocations: 0 / 0.8824 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/0.00594, allocations: 58.16 kB / 0.8824 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005952, allocations: 4 kB / 0.8824 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005956, allocations: 4 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.005969, allocations: 4 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.006068, allocations: 23.91 kB / 0.8825 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006072, allocations: 0 / 0.8825 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.006126, allocations: 19.97 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.006134, allocations: 3.938 kB / 0.8825 GB, free: 2.039 MB / 0.8386 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 6.1e-05/0.006195, allocations: 156.6 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.006217, allocations: 7.891 kB / 0.8826 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.006246, allocations: 16 kB / 0.8827 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006248, allocations: 3.984 kB / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.006252, allocations: 4 kB / 0.8827 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006254, allocations: 0 / 0.8827 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.006365, allocations: 132.6 kB / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006366, allocations: 0 / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.006429, allocations: 23.97 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.006432, allocations: 3.938 kB / 0.8828 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.006442, allocations: 3.984 kB / 0.8828 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006442, allocations: 4 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006443, allocations: 0 / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.006588, allocations: 207.9 kB / 0.883 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.006594, allocations: 3.953 kB / 0.883 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.006609, allocations: 7.938 kB / 0.883 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.006675, allocations: 15.97 kB / 0.8831 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.006708, allocations: 384 / 0.8831 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.006713, allocations: 3.984 kB / 0.8831 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.00675, allocations: 131.2 kB / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00675, allocations: 0 / 0.8832 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001484/0.006899, allocations: 16 kB / 0.8832 GB, free: 1.246 MB / 0.8386 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 7.33e-05/0.006972, allocations: 91.25 kB / 0.8833 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.007093, allocations: 43.64 kB / 0.8833 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007095, allocations: 0 / 0.8833 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.007137, allocations: 27.62 kB / 0.8834 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.00733, allocations: 15.92 kB / 0.8834 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.007784, allocations: 182 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.007827, allocations: 59.34 kB / 0.8836 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.661e-05/0.007874, allocations: 11.98 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.007924, allocations: 12.5 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.007925, allocations: 0 / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of Templates: time 0.003249/0.01117, allocations: 0.9722 MB / 0.8846 GB, free: 15.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.364247253863141]