Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001398/0.001398, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001656/0.001656, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.468/1.468, 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.3/3.3, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_latest_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_latest_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.002291/0.002291, allocations: 67.67 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3631, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001828/0.3649, allocations: 0.5952 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3666, allocations: 1.132 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.3666, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.3666, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.3669, allocations: 27.84 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.047e-06/0.3669, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.367, allocations: 4 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.367, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.367, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.367, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.367, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3672, allocations: 19.91 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3672, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.3672, allocations: 8 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.354e-05/0.3673, allocations: 11.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3673, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3673, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3673, allocations: 0 / 1.366 GB, free: 11.73 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.0003131/0.3676, allocations: 246.4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3676, allocations: 8.031 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.3679, allocations: 12.92 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.368, allocations: 106.5 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.368, allocations: 384 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.368, allocations: 4.375 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3682, allocations: 49.92 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3682, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3682, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3682, allocations: 3.938 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.3682, allocations: 8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.3684, allocations: 105.3 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3686, allocations: 26.58 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.3686, allocations: 20.94 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3686, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3687, allocations: 34.56 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3687, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.004106/0.3728, allocations: 0.5483 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3728, allocations: 51.41 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3729, allocations: 89.86 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3729, allocations: 25.7 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.373, allocations: 80.14 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.373, allocations: 19.84 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.3731, allocations: 21.7 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3732, allocations: 314.8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.3738, allocations: 79.95 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.3745, allocations: 110.7 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3757, allocations: 186.4 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3758, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001394/0.3771, allocations: 217.7 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3772, allocations: 7.938 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3772, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3772, allocations: 7.984 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.3776, allocations: 51.98 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3777, allocations: 4 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.378, allocations: 35.98 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.378, allocations: 4 kB / 1.368 GB, free: 9.098 MB / 1.061 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.0001291/0.3782, allocations: 117.8 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3782, allocations: 7.922 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.3783, allocations: 7.594 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3783, allocations: 0 / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3783, allocations: 4 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3783, allocations: 4 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.38, allocations: 402.1 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.38, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.3804, allocations: 55.84 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3804, allocations: 4 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3804, allocations: 4 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3804, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3804, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.3819, allocations: 303.4 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.3819, allocations: 8 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3819, allocations: 0 / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.3823, allocations: 48.03 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.3823, allocations: 0 / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3823, allocations: 4 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.3824, allocations: 79.28 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 4 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002533/0.3826, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 1.061 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.0001663/0.3828, allocations: 103.2 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.3841, allocations: 180 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3841, allocations: 0 / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.3847, allocations: 92.02 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.385, allocations: 11.86 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3862, allocations: 217.9 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.3863, allocations: 59.36 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.3865, allocations: 31.98 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.3865, allocations: 15.44 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3865, allocations: 4 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of Templates: time 0.003259/0.3898, allocations: 0.7784 MB / 1.37 GB, free: 6.477 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.736120896413922]