Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009407/0.0009407, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001091/0.001091, allocations: 161 kB / 24.17 MB, free: 332 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 1.055/1.055, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.912/1.912, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.678e-05, allocations: 7.188 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002531/0.002558, allocations: 1.563 MB / 0.7767 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000915/0.003472, allocations: 0.6046 MB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.003539, allocations: 0 / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.003577, allocations: 0.9375 kB / 0.7773 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.003644, allocations: 7.328 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.003949, allocations: 56.66 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.004054, allocations: 31.92 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.004135, allocations: 8.516 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.004268, allocations: 28.52 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.004312, allocations: 9.109 kB / 0.7775 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.004325, allocations: 4 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.004455, allocations: 61.59 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.004467, allocations: 7.938 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.004483, allocations: 8 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004625, allocations: 67.73 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004628, allocations: 0 / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.096e-06/0.004631, allocations: 4.734 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004635, allocations: 0 / 0.7776 GB, free: 2.93 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.0002977/0.004933, allocations: 253.7 kB / 0.7779 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.004971, allocations: 9.344 kB / 0.7779 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.007824, allocations: 0.9868 MB / 0.7788 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.008022, allocations: 118.4 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.008033, allocations: 384 / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.008056, allocations: 1 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.008746, allocations: 341.3 kB / 0.7793 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008755, allocations: 8.172 kB / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.008775, allocations: 384 / 0.7793 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.008783, allocations: 3.938 kB / 0.7793 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.008941, allocations: 60.25 kB / 0.7793 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01021, allocations: 0.6065 MB / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.01083, allocations: 297 kB / 0.7802 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.01092, allocations: 44.91 kB / 0.7803 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01094, allocations: 0 / 0.7803 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.01096, allocations: 34.56 kB / 0.7803 GB, free: 260 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.01096, allocations: 0 / 0.7803 GB, free: 260 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000331/0.01129, allocations: 125.7 kB / 0.7804 GB, free: 128 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.01132, allocations: 51.41 kB / 0.7805 GB, free: 64 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.01139, allocations: 118.6 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.01142, allocations: 29.7 kB / 0.7806 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.01144, allocations: 80.14 kB / 0.7807 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.01148, allocations: 7.953 kB / 0.7807 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.01155, allocations: 25.62 kB / 0.7807 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.01162, allocations: 326.8 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.0117, allocations: 27.98 kB / 0.781 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.01178, allocations: 28 kB / 0.7811 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01191, allocations: 48.89 kB / 0.7811 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01191, allocations: 0 / 0.7811 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.0121, allocations: 85.66 kB / 0.7812 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01212, allocations: 4 kB / 0.7812 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01212, allocations: 7.938 kB / 0.7812 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01214, allocations: 3.938 kB / 0.7812 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.01265, allocations: 195.8 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01265, allocations: 3.984 kB / 0.7814 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.01306, allocations: 183.8 kB / 0.7816 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.01308, allocations: 11.98 kB / 0.7816 GB, free: 14.85 MB / 0.7448 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 7.923e-05/0.01316, allocations: 105.8 kB / 0.7817 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.0132, allocations: 4 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.01324, allocations: 11.61 kB / 0.7817 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01325, allocations: 3.938 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01325, allocations: 4 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01325, allocations: 0 / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01342, allocations: 117.8 kB / 0.7818 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01342, allocations: 0 / 0.7818 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.01389, allocations: 199.8 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01389, allocations: 4 kB / 0.782 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01391, allocations: 7.984 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01391, allocations: 0 / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01391, allocations: 3.984 kB / 0.782 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.01414, allocations: 187.4 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.01415, allocations: 0 / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.01417, allocations: 4 kB / 0.7822 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.0146, allocations: 183.8 kB / 0.7824 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.01462, allocations: 3.938 kB / 0.7824 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.01464, allocations: 7.984 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.01466, allocations: 16.83 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01466, allocations: 4 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001683/0.01483, allocations: 40 kB / 0.7825 GB, free: 13.92 MB / 0.7448 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 0.0001115/0.01494, allocations: 80.36 kB / 0.7825 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.01516, allocations: 76.81 kB / 0.7826 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01517, allocations: 0 / 0.7826 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01527, allocations: 56.83 kB / 0.7827 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.0154, allocations: 15.98 kB / 0.7827 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.01584, allocations: 164.5 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.01587, allocations: 63.34 kB / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.01603, allocations: 32 kB / 0.7829 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.01619, allocations: 59.34 kB / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.01619, allocations: 0 / 0.783 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.004467/0.02066, allocations: 2.818 MB / 0.7857 GB, free: 10.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.905738774687052]