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.001349/0.001349, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001455/0.001455, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.007/3.007, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002069/0.002069, allocations: 75.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002557/1.079, allocations: 1.471 MB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009685/1.08, allocations: 0.6321 MB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/1.08, allocations: 3.938 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/1.08, allocations: 3.938 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/1.08, allocations: 6.781 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/1.081, allocations: 62.31 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/1.081, allocations: 30.8 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/1.081, allocations: 6.156 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/1.081, allocations: 20.95 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/1.081, allocations: 16.69 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/1.081, allocations: 3.094 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/1.081, allocations: 58.56 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/1.081, allocations: 0 / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/1.081, allocations: 24.62 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/1.081, allocations: 71.09 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.081, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/1.081, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.081, allocations: 4 kB / 1.324 GB, free: 23.46 MB / 1.061 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.0003981/1.082, allocations: 353.3 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.082, allocations: 11.95 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/1.082, allocations: 16.3 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/1.082, allocations: 176.9 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/1.082, allocations: 384 / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.082, allocations: 384 / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.082, allocations: 57.22 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.082, allocations: 0 / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.082, allocations: 6.844 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.082, allocations: 0 / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/1.082, allocations: 21.47 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/1.083, allocations: 256.6 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/1.083, allocations: 27.27 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/1.083, allocations: 17.58 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/1.084, allocations: 475 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/1.084, allocations: 33.22 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.084, allocations: 4 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002415/1.084, allocations: 70.12 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/1.084, allocations: 55.16 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/1.084, allocations: 112.5 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/1.084, allocations: 25.7 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/1.084, allocations: 86.55 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.084, allocations: 3.953 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/1.084, allocations: 16.97 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/1.084, allocations: 321.1 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/1.084, allocations: 5.125 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/1.084, allocations: 13.09 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/1.084, allocations: 32.88 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.084, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/1.084, allocations: 57.28 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.084, allocations: 5.094 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.084, allocations: 3.984 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.084, allocations: 0 / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/1.084, allocations: 8.5 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/1.084, allocations: 0 / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/1.084, allocations: 6.984 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/1.084, allocations: 0 / 1.326 GB, free: 21.24 MB / 1.061 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 5.728e-05/1.085, allocations: 120.4 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/1.085, allocations: 0 / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/1.085, allocations: 70.2 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.085, allocations: 0 / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.085, allocations: 4 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.085, allocations: 0 / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/1.085, allocations: 172.4 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.085, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/1.085, allocations: 2.625 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/1.085, allocations: 2.531 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/1.085, allocations: 4 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/1.085, allocations: 0 / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.085, allocations: 3.188 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/1.085, allocations: 156.1 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/1.085, allocations: 87.06 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/1.085, allocations: 0 / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/1.085, allocations: 6.938 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/1.085, allocations: 0 / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/1.085, allocations: 3.406 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.315e-05/1.085, allocations: 91.98 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.085, allocations: 0 / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002326/1.085, allocations: 17.02 kB / 1.327 GB, free: 20.52 MB / 1.061 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.0001653/1.086, allocations: 107.8 kB / 1.327 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001437/1.086, allocations: 28.89 kB / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.086, allocations: 0 / 1.327 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/1.086, allocations: 16.91 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.086, allocations: 6.875 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/1.086, allocations: 156.1 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.086, allocations: 0.6839 MB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/1.086, allocations: 10.72 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.086, allocations: 6.844 kB / 1.328 GB, free: 19.55 MB / 1.061 GB Notification: Performance of Templates: time 0.002526/1.089, allocations: 0.8396 MB / 1.329 GB, free: 19.47 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.544164307008032]