Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001452/0.001452, allocations: 217.4 kB / 22.25 MB, free: 4.852 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.352/3.352, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_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.003025/0.003025, allocations: 71.34 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3808, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003901/0.3847, allocations: 1.483 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3861, allocations: 0.5738 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.3862, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.3862, allocations: 3.938 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.3863, allocations: 7.938 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.3866, allocations: 59.81 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3867, allocations: 27.91 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3869, allocations: 8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.387, allocations: 27.86 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.3871, allocations: 11.92 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3871, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.3873, allocations: 51.95 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.3873, allocations: 7.984 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3873, allocations: 15.88 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3875, allocations: 71.73 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3875, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3875, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3875, allocations: 0 / 1.366 GB, free: 11.19 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.0004663/0.388, allocations: 274.2 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.388, allocations: 12.03 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.4041, allocations: 2.436 MB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.4045, allocations: 166.2 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4045, allocations: 384 / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.4046, allocations: 384 / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005642/0.4102, allocations: 1.02 MB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4102, allocations: 4 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.4103, allocations: 0 / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4103, allocations: 0 / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.421, allocations: 1.861 MB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006748/0.4278, allocations: 1.384 MB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.4385, allocations: 1.875 MB / 1.375 GB, free: 2.055 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/0.4437, allocations: 0.9374 MB / 1.376 GB, free: 1.113 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.4437, allocations: 3.984 kB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.4437, allocations: 30.56 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.4438, allocations: 3.938 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01555/0.4593, allocations: 2.741 MB / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.4594, allocations: 51.41 kB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4595, allocations: 109.9 kB / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.4596, allocations: 33.7 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.4597, allocations: 88.09 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.4597, allocations: 4 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4599, allocations: 25.67 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.46, allocations: 314.8 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005279/0.4653, allocations: 0.9287 MB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.4704, allocations: 0.9326 MB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/0.4799, allocations: 1.683 MB / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4799, allocations: 0 / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01018/0.4901, allocations: 1.824 MB / 1.384 GB, free: 8.273 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.4901, allocations: 4 kB / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4902, allocations: 0 / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4902, allocations: 0 / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.4931, allocations: 463.5 kB / 1.385 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4931, allocations: 4 kB / 1.385 GB, free: 7.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.496, allocations: 459.8 kB / 1.385 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.496, allocations: 3.984 kB / 1.385 GB, free: 7.359 MB / 1.076 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.0001454/0.4961, allocations: 117.8 kB / 1.385 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.4962, allocations: 3.953 kB / 1.385 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.4963, allocations: 15.56 kB / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4963, allocations: 0 / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4963, allocations: 0 / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4963, allocations: 0 / 1.385 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4967, allocations: 246.1 kB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4967, allocations: 3.938 kB / 1.386 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003005/0.4997, allocations: 467.4 kB / 1.386 GB, free: 6.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4997, allocations: 4 kB / 1.386 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.4997, allocations: 3.984 kB / 1.386 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4997, allocations: 4 kB / 1.386 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4997, allocations: 3.938 kB / 1.386 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.5099, allocations: 1.916 MB / 1.388 GB, free: 4.527 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.51, allocations: 7.891 kB / 1.388 GB, free: 4.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.51, allocations: 0 / 1.388 GB, free: 4.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/0.5128, allocations: 455.5 kB / 1.388 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.5128, allocations: 0 / 1.388 GB, free: 4.074 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.5129, allocations: 7.984 kB / 1.388 GB, free: 4.066 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.609e-05/0.513, allocations: 87.27 kB / 1.389 GB, free: 3.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.513, allocations: 4 kB / 1.389 GB, free: 3.977 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003166/0.5133, allocations: 32 kB / 1.389 GB, free: 3.945 MB / 1.076 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.0001897/0.5135, allocations: 99.25 kB / 1.389 GB, free: 3.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.5238, allocations: 1.873 MB / 1.391 GB, free: 1.965 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5238, allocations: 4.062 kB / 1.391 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.5289, allocations: 0.9365 MB / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5291, allocations: 3.938 kB / 1.391 GB, free: 1.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.5347, allocations: 1.049 MB / 1.392 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.5348, allocations: 63.34 kB / 1.393 GB, free: 15.86 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002998/0.5351, allocations: 35.91 kB / 1.393 GB, free: 15.83 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.5353, allocations: 27.39 kB / 1.393 GB, free: 15.8 MB / 1.092 GB Notification: Performance of SimCode: time 1.302e-06/0.5353, allocations: 3.938 kB / 1.393 GB, free: 15.8 MB / 1.092 GB Notification: Performance of Templates: time 0.006696/0.542, allocations: 2.707 MB / 1.395 GB, free: 13.08 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.122025599703193]