Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.0007731/0.0007731, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.006486/0.006486, allocations: 162 kB / 24.38 MB, free: 8.586 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.9312/0.9312, allocations: 177.1 MB / 204.8 MB, free: 5.066 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 1.903/1.903, allocations: 389.6 MB / 0.6356 GB, free: 12.22 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7756 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.298e-05, allocations: 3.219 kB / 0.7756 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002037/0.00206, allocations: 1.553 MB / 0.7771 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.002735, allocations: 499.6 kB / 0.7776 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.002772, allocations: 0.875 kB / 0.7776 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.002805, allocations: 0 / 0.7776 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.002876, allocations: 14.95 kB / 0.7776 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.003044, allocations: 11.98 kB / 0.7776 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.00311, allocations: 29.34 kB / 0.7776 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.392e-05/0.003184, allocations: 8.984 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.003259, allocations: 13.52 kB / 0.7776 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.003295, allocations: 13.34 kB / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.003306, allocations: 0 / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.003375, allocations: 21.27 kB / 0.7777 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.003391, allocations: 9.406 kB / 0.7777 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.003404, allocations: 2.484 kB / 0.7777 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.003497, allocations: 33.38 kB / 0.7777 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003499, allocations: 0 / 0.7777 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.0035, allocations: 0 / 0.7777 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003504, allocations: 0.75 kB / 0.7777 GB, free: 3.035 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.000268/0.003772, allocations: 237.4 kB / 0.7779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.003803, allocations: 9.344 kB / 0.7779 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.00398, allocations: 22.09 kB / 0.778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.004062, allocations: 109.8 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004072, allocations: 384 / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.004082, allocations: 1.594 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.613e-05/0.004178, allocations: 58.88 kB / 0.7781 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004186, allocations: 192 / 0.7781 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004193, allocations: 5.312 kB / 0.7781 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.0042, allocations: 7.938 kB / 0.7781 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.004222, allocations: 8.891 kB / 0.7781 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.004418, allocations: 156.2 kB / 0.7783 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.002e-05/0.004458, allocations: 23.27 kB / 0.7783 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.004471, allocations: 8.797 kB / 0.7783 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.004484, allocations: 5.844 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.004503, allocations: 30.56 kB / 0.7784 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004504, allocations: 0 / 0.7784 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000103/0.004607, allocations: 45.62 kB / 0.7784 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.004636, allocations: 56.38 kB / 0.7785 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.934e-05/0.004686, allocations: 106.7 kB / 0.7786 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.004696, allocations: 26.27 kB / 0.7786 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.004723, allocations: 84.14 kB / 0.7787 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.004738, allocations: 7.797 kB / 0.7787 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.004762, allocations: 17.7 kB / 0.7787 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.004836, allocations: 314.8 kB / 0.779 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.004845, allocations: 7.922 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.004852, allocations: 4 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.004879, allocations: 16.86 kB / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004881, allocations: 0 / 0.779 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.152e-05/0.004922, allocations: 37.69 kB / 0.7791 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.004934, allocations: 9.438 kB / 0.7791 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004938, allocations: 0 / 0.7791 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.004946, allocations: 3.938 kB / 0.7791 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.005014, allocations: 8 kB / 0.7791 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005019, allocations: 7.922 kB / 0.7791 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.00504, allocations: 7.938 kB / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.005044, allocations: 0 / 0.7791 GB, free: 1.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.533e-05/0.005089, allocations: 106.9 kB / 0.7792 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.005102, allocations: 4 kB / 0.7792 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.005131, allocations: 4.844 kB / 0.7792 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.005134, allocations: 7.922 kB / 0.7792 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.005136, allocations: 0 / 0.7792 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005139, allocations: 0 / 0.7792 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.005218, allocations: 75.11 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005219, allocations: 0 / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.005247, allocations: 7.984 kB / 0.7793 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005248, allocations: 0.7188 kB / 0.7793 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.005253, allocations: 0 / 0.7793 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.005254, allocations: 5.062 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005255, allocations: 0 / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.884e-05/0.005333, allocations: 136 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00534, allocations: 8.25 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-06/0.005347, allocations: 0.9375 kB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.005382, allocations: 8 kB / 0.7794 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.005405, allocations: 8.422 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.005408, allocations: 0.875 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.059e-05/0.005418, allocations: 12.86 kB / 0.7795 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005418, allocations: 0 / 0.7795 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001042/0.005522, allocations: 5.562 kB / 0.7795 GB, free: 1.062 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 (2): * Single equations (assignments): 2 * 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 7.388e-05/0.005596, allocations: 80.41 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.006e-05/0.005646, allocations: 9.391 kB / 0.7795 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005648, allocations: 5.312 kB / 0.7796 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.005663, allocations: 12.8 kB / 0.7796 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.006047, allocations: 4 kB / 0.7796 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.006239, allocations: 118.4 kB / 0.7797 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.006267, allocations: 55.34 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.006293, allocations: 6.906 kB / 0.7797 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.006337, allocations: 51.38 kB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of SimCode: time 4.2e-07/0.006337, allocations: 0.9375 kB / 0.7798 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of Templates: time 0.001864/0.008201, allocations: 0.6009 MB / 0.7804 GB, free: 104 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.743534660898149]