Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0009614/0.0009614, 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.001769/0.001769, 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 0.9544/0.9544, 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.896/1.896, 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.726e-05, allocations: 4.562 kB / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001195/0.001213, allocations: 0.6654 MB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.001412, allocations: 31.89 kB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.00143, allocations: 0.9062 kB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.001472, allocations: 0 / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.001521, allocations: 6.172 kB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.001699, allocations: 3.984 kB / 0.7759 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.001759, allocations: 8.875 kB / 0.776 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.001793, allocations: 4 kB / 0.776 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.001824, allocations: 5.172 kB / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.001861, allocations: 0 / 0.776 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.001873, allocations: 8.922 kB / 0.776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.001954, allocations: 20.91 kB / 0.776 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.001979, allocations: 6.594 kB / 0.776 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.001994, allocations: 0.6562 kB / 0.776 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.00207, allocations: 25.39 kB / 0.776 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.002072, allocations: 0 / 0.776 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002072, allocations: 0 / 0.776 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.002075, allocations: 0.5312 kB / 0.776 GB, free: 4.574 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002047/0.00228, allocations: 255.4 kB / 0.7763 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.002308, allocations: 13.34 kB / 0.7763 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.002329, allocations: 1.703 kB / 0.7763 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.093e-05/0.00239, allocations: 108.7 kB / 0.7764 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.002402, allocations: 4.375 kB / 0.7764 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.002408, allocations: 384 / 0.7764 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.002497, allocations: 62.8 kB / 0.7764 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002504, allocations: 192 / 0.7764 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.002511, allocations: 8.297 kB / 0.7765 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.002536, allocations: 13.45 kB / 0.7765 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.00256, allocations: 41.62 kB / 0.7765 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.002742, allocations: 182 kB / 0.7767 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.002777, allocations: 48.27 kB / 0.7767 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.002792, allocations: 30.56 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.002798, allocations: 0 / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.002816, allocations: 42.5 kB / 0.7768 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.002816, allocations: 0 / 0.7768 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001018/0.002918, allocations: 114.8 kB / 0.7769 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.002946, allocations: 77.11 kB / 0.777 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.003007, allocations: 123.7 kB / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.003015, allocations: 26.89 kB / 0.7771 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.003052, allocations: 103.9 kB / 0.7772 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.003058, allocations: 11.94 kB / 0.7772 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.003085, allocations: 18.53 kB / 0.7773 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.003154, allocations: 314.8 kB / 0.7776 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.003173, allocations: 39.02 kB / 0.7776 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.003212, allocations: 76.52 kB / 0.7777 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/0.003275, allocations: 128.1 kB / 0.7778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003277, allocations: 1.375 kB / 0.7778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.678e-05/0.003364, allocations: 135 kB / 0.7779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.003388, allocations: 37.69 kB / 0.7779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.003393, allocations: 0.8125 kB / 0.7779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.003406, allocations: 4 kB / 0.778 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.003456, allocations: 13.34 kB / 0.778 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.00346, allocations: 8 kB / 0.778 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.003498, allocations: 4 kB / 0.778 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.003509, allocations: 4.766 kB / 0.778 GB, free: 2.281 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.843e-05/0.003567, allocations: 151.9 kB / 0.7781 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.003581, allocations: 11.88 kB / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.003593, allocations: 3.469 kB / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.003594, allocations: 0.75 kB / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.003596, allocations: 0 / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.003599, allocations: 4 kB / 0.7781 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.023e-05/0.003669, allocations: 67.72 kB / 0.7782 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.003671, allocations: 4 kB / 0.7782 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.003672, allocations: 0.625 kB / 0.7782 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.003673, allocations: 0 / 0.7782 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.003676, allocations: 0.5312 kB / 0.7782 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.00368, allocations: 4.594 kB / 0.7782 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00368, allocations: 0 / 0.7782 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.003757, allocations: 188.3 kB / 0.7784 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.003763, allocations: 0.875 kB / 0.7784 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.00377, allocations: 4 kB / 0.7784 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.003799, allocations: 4.562 kB / 0.7784 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.003807, allocations: 4 kB / 0.7784 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.003814, allocations: 9.453 kB / 0.7784 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.003832, allocations: 16.78 kB / 0.7784 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.003832, allocations: 0 / 0.7784 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001858/0.004018, allocations: 8 kB / 0.7784 GB, free: 1.754 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.098e-05/0.004109, allocations: 90.62 kB / 0.7785 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.004209, allocations: 137.3 kB / 0.7787 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.004211, allocations: 0 / 0.7787 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.004242, allocations: 86.59 kB / 0.7787 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.358e-05/0.004326, allocations: 5.125 kB / 0.7788 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.004479, allocations: 133.3 kB / 0.7789 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.004508, allocations: 60.47 kB / 0.7789 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.004526, allocations: 1.406 kB / 0.7789 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.004571, allocations: 60.72 kB / 0.779 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/0.004571, allocations: 0.7656 kB / 0.779 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.00192/0.006491, allocations: 0.6021 MB / 0.7796 GB, free: 0.5195 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8598075015470386]