Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001346/0.001346, allocations: 195.2 kB / 16.26 MB, free: 6.621 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.803/2.803, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6308, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003866/0.6347, allocations: 1.523 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.636, allocations: 0.5618 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.6361, allocations: 4 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-05/0.6362, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.6363, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.6367, allocations: 43.89 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.647e-05/0.6368, allocations: 27.88 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.6369, allocations: 7.984 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.637, allocations: 15.98 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.6371, allocations: 15.92 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.6371, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.6373, allocations: 51.95 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.6373, allocations: 3.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.6374, allocations: 11.94 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.6376, allocations: 63.84 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.6376, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6376, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.6376, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006748/0.6383, allocations: 357.3 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.6383, allocations: 12.03 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.6384, allocations: 4.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.6386, allocations: 172.3 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.6386, allocations: 8.312 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.6387, allocations: 4.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.6388, allocations: 49.94 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6389, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6389, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6389, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.639, allocations: 23.98 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6394, allocations: 248.9 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.6395, allocations: 38.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.6396, allocations: 12.92 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.6406, allocations: 477.4 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.6406, allocations: 30.56 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.6406, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002799/0.6409, allocations: 69.58 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.641, allocations: 63.41 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.6411, allocations: 109.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6412, allocations: 29.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.6412, allocations: 84.14 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.6412, allocations: 3.906 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.6413, allocations: 17.72 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6415, allocations: 314.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.6415, allocations: 12 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.331e-05/0.6416, allocations: 11.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.6416, allocations: 28.78 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6417, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.6418, allocations: 53.62 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6418, allocations: 8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6418, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6419, allocations: 4.094 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.6419, allocations: 11.98 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.642, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.642, allocations: 11.94 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.642, allocations: 0 / 1.021 GB, free: 13.82 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 (2): * Single equations (assignments): 2 * 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.414e-05/0.6421, allocations: 109.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.6421, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6423, allocations: 61.2 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6423, allocations: 4.031 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6423, allocations: 0 / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6423, allocations: 3.938 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.6426, allocations: 169.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6426, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.6426, allocations: 7.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6426, allocations: 3.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.6426, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6426, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6427, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.6428, allocations: 151.5 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.6429, allocations: 77.11 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.6429, allocations: 3.984 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.643, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.643, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.643, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.6431, allocations: 95.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6431, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000242/0.6434, allocations: 16 kB / 1.022 GB, free: 13.02 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 (2): * Single equations (assignments): 2 * 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.0002124/0.6436, allocations: 115.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.6437, allocations: 31.92 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6438, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.6438, allocations: 11.98 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.644, allocations: 12 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.6444, allocations: 130.7 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.6448, allocations: 0.6845 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.6448, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.6448, allocations: 11.44 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6449, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.003378/0.6482, allocations: 0.6439 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches