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.0008412/0.0008412, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008617/0.0008617, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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.9282/0.9282, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.937/1.937, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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 2.605e-06/2.605e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.821e-05, allocations: 3.062 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002885/0.002914, allocations: 1.549 MB / 0.7767 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.003583, allocations: 498.6 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.003616, allocations: 0 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.003646, allocations: 0 / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.003719, allocations: 5.469 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.003885, allocations: 19.98 kB / 0.7772 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.00395, allocations: 25.78 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.004019, allocations: 13.06 kB / 0.7772 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.808e-05/0.004087, allocations: 14.2 kB / 0.7773 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.004121, allocations: 13.41 kB / 0.7773 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.004133, allocations: 4 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.004203, allocations: 16.58 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.004218, allocations: 5.266 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.004235, allocations: 9.188 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.004323, allocations: 29.06 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004325, allocations: 0 / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004327, allocations: 0 / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.004333, allocations: 2.844 kB / 0.7773 GB, free: 3.227 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.0002741/0.004607, allocations: 244.9 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.00464, allocations: 9.344 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.004809, allocations: 12.92 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.004894, allocations: 105.8 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004905, allocations: 4.375 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.004911, allocations: 4.312 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.117e-05/0.005002, allocations: 58.75 kB / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005009, allocations: 192 / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.005016, allocations: 384 / 0.7778 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005022, allocations: 3.938 kB / 0.7778 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.005043, allocations: 7.984 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.005246, allocations: 156.2 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.005288, allocations: 26.5 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.005326, allocations: 8.922 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.005341, allocations: 0 / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.005361, allocations: 35.69 kB / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.005362, allocations: 0 / 0.778 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001064/0.005468, allocations: 50.72 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.005497, allocations: 55.34 kB / 0.7781 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.101e-05/0.005548, allocations: 110.6 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.005558, allocations: 26.2 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.005586, allocations: 85.03 kB / 0.7783 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.005602, allocations: 7.953 kB / 0.7783 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.005625, allocations: 9.719 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.005703, allocations: 324.1 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/0.005711, allocations: 0 / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.00572, allocations: 4 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.005745, allocations: 9.672 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005747, allocations: 1.406 kB / 0.7786 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.878e-05/0.005795, allocations: 41.69 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.005809, allocations: 11.94 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.005815, allocations: 0.5312 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.00583, allocations: 3.938 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.005894, allocations: 9.828 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005897, allocations: 0 / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.005918, allocations: 8 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005923, allocations: 0 / 0.7787 GB, free: 1.676 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.692e-05/0.00597, allocations: 110.5 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.005982, allocations: 1.062 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.006013, allocations: 11.3 kB / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.006016, allocations: 5.188 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.006018, allocations: 0 / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.00602, allocations: 0 / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.761e-05/0.006098, allocations: 69.89 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006099, allocations: 0.75 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.006125, allocations: 13.33 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.006126, allocations: 0 / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-06/0.00613, allocations: 0 / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006131, allocations: 0 / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006131, allocations: 0.625 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.846e-05/0.00621, allocations: 140 kB / 0.779 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.006216, allocations: 4 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.006223, allocations: 0.6875 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.006257, allocations: 9.422 kB / 0.7791 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.00628, allocations: 3.938 kB / 0.7791 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006282, allocations: 7.938 kB / 0.7791 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.006293, allocations: 8.859 kB / 0.7791 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.006293, allocations: 0.5625 kB / 0.7791 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001086/0.006402, allocations: 8 kB / 0.7791 GB, free: 1.254 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 6.137e-05/0.006463, allocations: 77.91 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.006525, allocations: 17.97 kB / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006527, allocations: 0 / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.006542, allocations: 12.8 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.006667, allocations: 12.88 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.00685, allocations: 117.5 kB / 0.7793 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.006877, allocations: 51.92 kB / 0.7794 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.006903, allocations: 7.656 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.006949, allocations: 55.36 kB / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.00695, allocations: 0 / 0.7794 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of Templates: time 0.001929/0.008878, allocations: 0.5842 MB / 0.78 GB, free: 308 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.7684408612549305]