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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 190.1 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.942/2.942, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9515/0.9535, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001795/0.9553, allocations: 0.586 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.9569, allocations: 1.112 MB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.9569, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.9569, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.9572, allocations: 23.91 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.9572, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.9572, allocations: 4 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.9573, allocations: 7.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.9573, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.394e-05/0.9573, allocations: 11.88 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.9573, allocations: 0 / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.9575, allocations: 19.97 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.9575, allocations: 3.984 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.9575, allocations: 3.938 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.882e-05/0.9576, allocations: 15.92 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9576, allocations: 4 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9576, allocations: 4 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9576, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 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.0003124/0.9579, allocations: 318.2 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.9579, allocations: 12.02 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.958, allocations: 0.9375 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.9581, allocations: 164.4 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9581, allocations: 4.375 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.9581, allocations: 384 / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.813e-05/0.9582, allocations: 38 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.9582, allocations: 4 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.9582, allocations: 3.984 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9582, allocations: 4 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.9583, allocations: 7.938 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.9584, allocations: 149.7 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.9586, allocations: 34.61 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.9586, allocations: 8.859 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.9588, allocations: 81.11 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9588, allocations: 42.5 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.9588, allocations: 0 / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004641/0.9634, allocations: 0.5754 MB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.9635, allocations: 51.41 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.655e-05/0.9635, allocations: 93.84 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.9636, allocations: 29.7 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.9636, allocations: 88.08 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.9636, allocations: 11.84 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.9637, allocations: 17.72 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9638, allocations: 322.8 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.9645, allocations: 84.02 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.9652, allocations: 106.5 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.9665, allocations: 186.5 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.9665, allocations: 3.938 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001419/0.9679, allocations: 221.5 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9679, allocations: 5.562 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9679, allocations: 4 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9679, allocations: 3.938 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.9684, allocations: 48 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9684, allocations: 4 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.9687, allocations: 35.98 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.9688, allocations: 7.984 kB / 1.279 GB, free: 15.6 MB / 0.9825 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.91e-05/0.9688, allocations: 109.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.9689, allocations: 7.938 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.9704, allocations: 237 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.9704, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9704, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9704, allocations: 4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.972, allocations: 454.4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.972, allocations: 4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.9724, allocations: 47.91 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.9724, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.9724, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.9724, allocations: 7.984 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9725, allocations: 0 / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.974, allocations: 307.6 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.974, allocations: 81.11 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.9741, allocations: 7.984 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.9745, allocations: 35.92 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.9745, allocations: 8 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.9745, allocations: 4.406 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.9745, allocations: 75.28 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9745, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002589/0.9748, allocations: 16 kB / 1.28 GB, free: 14.11 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 (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.0002143/0.975, allocations: 107.7 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.9766, allocations: 183.9 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9766, allocations: 4 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.9773, allocations: 84.02 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.9775, allocations: 12 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.979, allocations: 230.4 kB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.9794, allocations: 0.6768 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.9795, allocations: 28 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.9796, allocations: 7.438 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9796, allocations: 0 / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.003451/0.9831, allocations: 0.8309 MB / 1.282 GB, free: 11.91 MB / 0.9825 GB " [Timeout remaining time 299] 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 cvode -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_2/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: 9.091930935159326]