Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001295/0.001295, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001424/0.001424, allocations: 215.9 kB / 23.01 MB, free: 4.609 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_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.002098/0.002098, allocations: 64.22 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3746, allocations: 170 MB / 1.285 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003135/0.3778, allocations: 1.497 MB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.379, allocations: 0.6211 MB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.379, allocations: 4 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.3791, allocations: 7.938 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3792, allocations: 3.938 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3795, allocations: 59.8 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3796, allocations: 23.94 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3797, allocations: 15.92 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3799, allocations: 23.86 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.3799, allocations: 11.92 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3799, allocations: 4 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3801, allocations: 59.95 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.3801, allocations: 15.86 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.3801, allocations: 7.938 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3803, allocations: 75.78 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3803, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3803, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3803, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 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.0004521/0.3808, allocations: 274.1 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3808, allocations: 8.031 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.381, allocations: 16.92 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3812, allocations: 130.4 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3812, allocations: 384 / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.3812, allocations: 384 / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3814, allocations: 49.94 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3814, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3814, allocations: 0 / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3814, allocations: 4 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.3815, allocations: 23.97 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.3819, allocations: 228 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.3819, allocations: 30.56 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.382, allocations: 20.86 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.3827, allocations: 95.86 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3827, allocations: 30.56 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3827, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.383, allocations: 65.62 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.383, allocations: 55.41 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.3831, allocations: 114 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3832, allocations: 25.7 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.3832, allocations: 88.12 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3832, allocations: 8.328 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3833, allocations: 17.64 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3834, allocations: 314.8 kB / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.3835, allocations: 11.98 kB / 1.289 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.3835, allocations: 15.94 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.3836, allocations: 28.78 kB / 1.289 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3836, allocations: 4 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.3837, allocations: 49.69 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3837, allocations: 4 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3837, allocations: 3.984 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3837, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.3838, allocations: 7.984 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3838, allocations: 12.03 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.957e-05/0.3839, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3839, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 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.326e-05/0.384, allocations: 117.8 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.384, allocations: 11.88 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.3842, allocations: 57.31 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3842, allocations: 7.984 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3842, allocations: 4.031 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3842, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3843, allocations: 128.7 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3843, allocations: 4 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.3844, allocations: 7.984 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3844, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3844, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3844, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3844, allocations: 3.938 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3846, allocations: 167.4 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.3846, allocations: 0 / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3847, allocations: 4 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.3847, allocations: 4 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3847, allocations: 0 / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.3847, allocations: 0 / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.3848, allocations: 91.27 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3848, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002397/0.385, allocations: 19.97 kB / 1.289 GB, free: 6.297 MB / 0.9825 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.0001823/0.3852, allocations: 111.5 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.3854, allocations: 27.92 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3854, allocations: 0 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.3854, allocations: 15.92 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3856, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.386, allocations: 157.1 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3863, allocations: 0.6807 MB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3864, allocations: 7.438 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3864, allocations: 0 / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.002695/0.3891, allocations: 0.8508 MB / 1.291 GB, free: 4.387 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.227892388007604]