Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001348/0.001348, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001396/0.001396, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.613/2.613, allocations: 359.1 MB / 0.6044 GB, free: 14.79 MB / 0.5762 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.00212/0.00212, allocations: 68.14 kB / 0.9515 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2795, allocations: 169.9 MB / 1.117 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001777/0.2813, allocations: 0.6097 MB / 1.118 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.2829, allocations: 1.116 MB / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2829, allocations: 0 / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2829, allocations: 0 / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2831, allocations: 27.91 kB / 1.119 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.865e-06/0.2831, allocations: 0 / 1.119 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.779e-05/0.2831, allocations: 3.938 kB / 1.119 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.2832, allocations: 4 kB / 1.119 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.2832, allocations: 3.938 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.2832, allocations: 3.984 kB / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.2832, allocations: 0 / 1.119 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.2833, allocations: 15.98 kB / 1.119 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.2833, allocations: 3.938 kB / 1.119 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.158e-05/0.2833, allocations: 4 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.295e-05/0.2834, allocations: 19.86 kB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2834, allocations: 3.938 kB / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2834, allocations: 0 / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2834, allocations: 0 / 1.119 GB, free: 0.6328 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.0002645/0.2837, allocations: 246.4 kB / 1.119 GB, free: 372 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2837, allocations: 8.031 kB / 1.119 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.2837, allocations: 0.9375 kB / 1.119 GB, free: 364 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.2838, allocations: 102.5 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2838, allocations: 4.375 kB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.2839, allocations: 4.375 kB / 1.12 GB, free: 228 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.284, allocations: 38 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.284, allocations: 4 kB / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.284, allocations: 0 / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.284, allocations: 0 / 1.12 GB, free: 180 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.284, allocations: 7.938 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.2841, allocations: 109.3 kB / 1.12 GB, free: 32 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.2843, allocations: 30.72 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.2843, allocations: 12.84 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2844, allocations: 8 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2845, allocations: 34.56 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2845, allocations: 0 / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.004517/0.289, allocations: 0.5715 MB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.289, allocations: 59.34 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.2891, allocations: 93.86 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2891, allocations: 25.7 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.2891, allocations: 80.14 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.2892, allocations: 23.78 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.2892, allocations: 17.72 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2894, allocations: 314.8 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.29, allocations: 91.89 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.2907, allocations: 102.5 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.292, allocations: 190.4 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.292, allocations: 0 / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001373/0.2933, allocations: 217.6 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2934, allocations: 7.938 kB / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2934, allocations: 0 / 1.122 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2934, allocations: 4 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.2938, allocations: 48.19 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.2938, allocations: 8 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.2942, allocations: 35.98 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2942, allocations: 4.422 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.533e-05/0.2943, allocations: 113.8 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.2943, allocations: 7.938 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.2958, allocations: 241.1 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2958, allocations: 3.984 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2958, allocations: 4 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2958, allocations: 0 / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.2974, allocations: 402 kB / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2974, allocations: 0 / 1.122 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.2978, allocations: 47.97 kB / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2978, allocations: 0 / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2978, allocations: 0 / 1.122 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2978, allocations: 11.98 kB / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2978, allocations: 0 / 1.122 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2993, allocations: 307.3 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.2993, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2993, allocations: 4 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.2997, allocations: 43.97 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.2997, allocations: 3.938 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2997, allocations: 4 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.2998, allocations: 75.28 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.2998, allocations: 0 / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002574/0.3, allocations: 8 kB / 1.123 GB, free: 12.66 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 (5): * Single equations (assignments): 5 * 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.0001603/0.3002, allocations: 115.2 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.3015, allocations: 176.1 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3015, allocations: 0 / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.3022, allocations: 96.02 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3024, allocations: 10.19 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3036, allocations: 212.8 kB / 1.123 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.3037, allocations: 63.36 kB / 1.124 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.3039, allocations: 24 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3039, allocations: 16.48 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3039, allocations: 0 / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of Templates: time 0.003148/0.3071, allocations: 0.8145 MB / 1.124 GB, free: 11.1 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: 7.824810376972891]