Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001432/0.001432, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001479/0.001479, allocations: 213.4 kB / 22.99 MB, free: 4.984 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_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_12_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.002133/0.002133, allocations: 71.97 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3898, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001923/0.3918, allocations: 0.6087 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3935, allocations: 1.128 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.3935, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.3935, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.3938, allocations: 23.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.3938, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.3939, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.3939, allocations: 7.984 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.3939, allocations: 11.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.394, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.394, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3941, allocations: 12 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.3941, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.3941, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3942, allocations: 31.78 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3942, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3942, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3942, allocations: 0 / 1.329 GB, free: 15.1 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.0003755/0.3946, allocations: 246.4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3947, allocations: 8.031 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3947, allocations: 4.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.3948, allocations: 106.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3948, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3948, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3949, allocations: 38 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3949, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3949, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.395, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.395, allocations: 11.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.3951, allocations: 105.3 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3954, allocations: 34.61 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.3954, allocations: 8.859 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.3955, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3955, allocations: 30.56 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3955, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.004822/0.4004, allocations: 0.5716 MB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4004, allocations: 55.41 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.4005, allocations: 93.84 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4005, allocations: 29.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.4005, allocations: 80.14 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.4006, allocations: 19.78 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.4006, allocations: 21.66 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4008, allocations: 314.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/0.4014, allocations: 87.95 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.4021, allocations: 98.53 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4034, allocations: 190.5 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4034, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001374/0.4048, allocations: 218 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4048, allocations: 11.88 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4048, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4048, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.4053, allocations: 52 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4053, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4057, allocations: 35.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.4057, allocations: 7.984 kB / 1.331 GB, free: 12.45 MB / 1.029 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 0.000105/0.4058, allocations: 106.4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4058, allocations: 11.92 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4073, allocations: 241.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4073, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4074, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4074, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.4091, allocations: 406.3 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4091, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.4095, allocations: 55.84 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4095, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4095, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4095, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4095, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4109, allocations: 307.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.4109, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4109, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.4113, allocations: 47.97 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.4114, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.4114, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.4114, allocations: 75.28 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4114, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002712/0.4117, allocations: 11.94 kB / 1.333 GB, free: 11.12 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 (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.0002171/0.4119, allocations: 115.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.4133, allocations: 176 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4133, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.4139, allocations: 96 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.4141, allocations: 4.5 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4154, allocations: 216.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.4155, allocations: 63.36 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.4157, allocations: 27.98 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.4157, allocations: 7.438 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of SimCode: time 9.01e-07/0.4157, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Templates: time 0.003461/0.4192, allocations: 0.8401 MB / 1.334 GB, free: 9.531 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.498648645996582]