Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.00159/0.00159, allocations: 91.67 kB / 20.95 MB, free: 3.305 MB / 18.57 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.008402/0.008402, allocations: 161.3 kB / 24.37 MB, free: 8.484 MB / 18.57 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 0.987/0.987, allocations: 177.2 MB / 204.8 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.03/2.03, allocations: 389.6 MB / 0.6356 GB, free: 12.18 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.7756 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.88e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001494/0.001523, allocations: 0.6747 MB / 0.7763 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.002881, allocations: 1.161 MB / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.002912, allocations: 0 / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.002931, allocations: 0 / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.003196, allocations: 21.17 kB / 0.7774 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.0032, allocations: 0 / 0.7774 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.003254, allocations: 9.859 kB / 0.7775 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.003303, allocations: 3.984 kB / 0.7775 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.003336, allocations: 8.672 kB / 0.7775 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.003369, allocations: 4 kB / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.00338, allocations: 0 / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.003517, allocations: 12.81 kB / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.003532, allocations: 1.312 kB / 0.7775 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.327e-05/0.003545, allocations: 4.859 kB / 0.7775 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.003635, allocations: 16.97 kB / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003638, allocations: 0 / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003639, allocations: 0 / 0.7775 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.003644, allocations: 0.6562 kB / 0.7775 GB, free: 3.168 MB / 0.7292 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.0002553/0.0039, allocations: 212.7 kB / 0.7777 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.003946, allocations: 14.5 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002552/0.004202, allocations: 20.89 kB / 0.7777 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.107e-05/0.004283, allocations: 102.8 kB / 0.7778 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.004297, allocations: 9.141 kB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.004318, allocations: 384 / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.004416, allocations: 38.78 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.004429, allocations: 1.094 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004437, allocations: 384 / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.004445, allocations: 3.938 kB / 0.7779 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.004472, allocations: 9.484 kB / 0.7779 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.004577, allocations: 57.92 kB / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.004729, allocations: 38.59 kB / 0.778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.004748, allocations: 9.703 kB / 0.778 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.004762, allocations: 0 / 0.778 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.004789, allocations: 34.5 kB / 0.778 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.00479, allocations: 1.219 kB / 0.778 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0009798/0.00577, allocations: 243.6 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.005809, allocations: 52.22 kB / 0.7783 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.365e-05/0.005843, allocations: 95 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.005862, allocations: 33.7 kB / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.005885, allocations: 81.2 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.005921, allocations: 11.89 kB / 0.7785 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.005971, allocations: 22.55 kB / 0.7785 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.006063, allocations: 318.8 kB / 0.7789 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.006099, allocations: 5.875 kB / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.006146, allocations: 21.39 kB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/0.006233, allocations: 37.25 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006234, allocations: 0.8438 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.006351, allocations: 57.52 kB / 0.779 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006364, allocations: 8.547 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006369, allocations: 0.7188 kB / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.006377, allocations: 0 / 0.779 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.006529, allocations: 33.8 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006532, allocations: 1.469 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.006637, allocations: 30.22 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.00665, allocations: 0 / 0.779 GB, free: 1.473 MB / 0.7292 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 6.49e-05/0.006715, allocations: 119.3 kB / 0.7792 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.00673, allocations: 4 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.006771, allocations: 13.83 kB / 0.7792 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006773, allocations: 4.422 kB / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006775, allocations: 0 / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.006779, allocations: 4.594 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.007033, allocations: 194 kB / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007035, allocations: 4 kB / 0.7794 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.007173, allocations: 37.56 kB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007174, allocations: 0 / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.007186, allocations: 3.984 kB / 0.7794 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007187, allocations: 2.328 kB / 0.7794 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007189, allocations: 3.938 kB / 0.7794 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.00732, allocations: 146.3 kB / 0.7796 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.007327, allocations: 7.953 kB / 0.7796 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.007342, allocations: 1.031 kB / 0.7796 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.007464, allocations: 21.95 kB / 0.7796 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.007475, allocations: 3.938 kB / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.007488, allocations: 12.64 kB / 0.7796 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.412e-06/0.007495, allocations: 5.484 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007495, allocations: 1.031 kB / 0.7796 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001825/0.007677, allocations: 8 kB / 0.7796 GB, free: 0.8555 MB / 0.7292 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 8.647e-05/0.007764, allocations: 81.3 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.007883, allocations: 28.66 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007885, allocations: 0.6562 kB / 0.7797 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.00793, allocations: 18.89 kB / 0.7797 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.008058, allocations: 7.984 kB / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.008361, allocations: 124.7 kB / 0.7799 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.764e-05/0.008399, allocations: 55.34 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.008556, allocations: 33.66 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.008646, allocations: 52.03 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.008646, allocations: 0.5312 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of Templates: time 0.002316/0.01096, allocations: 0.8801 MB / 0.7809 GB, free: 15.59 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.317923323251307]