Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001735/0.001735, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002698/0.002698, allocations: 212.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 69.91 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002926/0.3585, allocations: 1.47 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3596, allocations: 0.5728 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.3596, allocations: 7.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.3597, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.3597, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.36, allocations: 59.81 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3601, allocations: 35.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.3602, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3603, allocations: 23.91 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.3603, allocations: 15.92 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3604, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3605, allocations: 55.95 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.3605, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.3605, allocations: 15.92 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3607, allocations: 67.73 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3607, allocations: 3.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3607, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3607, allocations: 4 kB / 1.328 GB, free: 15.45 MB / 1.029 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.0004867/0.3612, allocations: 279.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3612, allocations: 12.03 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3614, allocations: 12.92 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3616, allocations: 122.4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.3616, allocations: 384 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3616, allocations: 384 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3617, allocations: 50 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3617, allocations: 4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.3617, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3617, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.3618, allocations: 23.92 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.3621, allocations: 192.6 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3622, allocations: 38.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3623, allocations: 12.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.363, allocations: 95.86 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.363, allocations: 38.56 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.363, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.3634, allocations: 69.56 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3635, allocations: 55.34 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3636, allocations: 113.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3636, allocations: 29.83 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3637, allocations: 80.14 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3637, allocations: 7.953 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.3637, allocations: 13.72 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.364, allocations: 322.8 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.364, allocations: 4 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.3641, allocations: 7.984 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3642, allocations: 36.78 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3642, allocations: 4.062 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001699/0.3644, allocations: 53.62 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3644, allocations: 7.938 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3644, allocations: 3.984 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3644, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.3645, allocations: 7.984 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3645, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.3646, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3646, allocations: 3.984 kB / 1.329 GB, free: 13.61 MB / 1.029 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 0.0001057/0.3647, allocations: 118.3 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.3647, allocations: 11.95 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3649, allocations: 61.23 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3649, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3649, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3649, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3651, allocations: 109.3 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3651, allocations: 3.938 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.3652, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3652, allocations: 4.031 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3652, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3652, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3652, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3654, allocations: 159.8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.3655, allocations: 3.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3655, allocations: 4 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.3656, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3656, allocations: 7.938 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3656, allocations: 11.98 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.3657, allocations: 83.31 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3657, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003909/0.3661, allocations: 19.94 kB / 1.33 GB, free: 12.94 MB / 1.029 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.0002127/0.3663, allocations: 111.2 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3664, allocations: 23.98 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3664, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.3665, allocations: 19.86 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3668, allocations: 16 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.3672, allocations: 126.8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.464e-05/0.3673, allocations: 63.34 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3673, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.3674, allocations: 7.438 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3674, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of Templates: time 0.004132/0.3715, allocations: 0.6932 MB / 1.331 GB, free: 11.83 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.872508935630322]