Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.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.0009774/0.0009774, 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.004117/0.004117, allocations: 162.9 kB / 24.38 MB, free: 8.605 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.9616/0.9616, allocations: 177.1 MB / 204.8 MB, free: 4.965 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.984/1.984, allocations: 389.6 MB / 0.6357 GB, free: 12.2 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7756 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.447e-05, allocations: 5.609 kB / 0.7756 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001474/0.001498, allocations: 0.6663 MB / 0.7763 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.001712, allocations: 48.45 kB / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.001727, allocations: 0 / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.001742, allocations: 4.375 kB / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.001748, allocations: 0 / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.001944, allocations: 15.92 kB / 0.7763 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.001986, allocations: 3.984 kB / 0.7763 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.002021, allocations: 4 kB / 0.7763 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.002051, allocations: 0 / 0.7763 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.002073, allocations: 0.875 kB / 0.7763 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.002085, allocations: 0 / 0.7763 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.002193, allocations: 27.94 kB / 0.7764 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.002202, allocations: 0 / 0.7764 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.111e-05/0.002213, allocations: 4 kB / 0.7764 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.002283, allocations: 17.23 kB / 0.7764 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.002287, allocations: 3.984 kB / 0.7764 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002288, allocations: 0 / 0.7764 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002291, allocations: 0 / 0.7764 GB, free: 4.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001732/0.002464, allocations: 212.8 kB / 0.7766 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.002497, allocations: 9.344 kB / 0.7766 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.002668, allocations: 17.47 kB / 0.7766 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.155e-05/0.00273, allocations: 109.7 kB / 0.7767 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.002739, allocations: 3.938 kB / 0.7767 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.002747, allocations: 384 / 0.7767 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.002836, allocations: 51.83 kB / 0.7768 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.002842, allocations: 192 / 0.7768 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.002847, allocations: 384 / 0.7768 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.002852, allocations: 384 / 0.7768 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.251e-05/0.002864, allocations: 3.938 kB / 0.7768 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.604e-05/0.00293, allocations: 61.05 kB / 0.7768 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.002966, allocations: 26.19 kB / 0.7769 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.181e-05/0.002977, allocations: 8.844 kB / 0.7769 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.002989, allocations: 0.5469 kB / 0.7769 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.003007, allocations: 30.56 kB / 0.7769 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.003008, allocations: 4.062 kB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.594e-05/0.003094, allocations: 31.11 kB / 0.7769 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.003122, allocations: 55.34 kB / 0.777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.412e-05/0.003147, allocations: 90.73 kB / 0.7771 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003155, allocations: 25.7 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.944e-05/0.003174, allocations: 81.3 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.003203, allocations: 4 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.003226, allocations: 17.7 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.003299, allocations: 319.8 kB / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.003309, allocations: 0 / 0.7775 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.003317, allocations: 4.531 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.003345, allocations: 14.67 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003346, allocations: 0 / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.661e-05/0.003383, allocations: 34.56 kB / 0.7776 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.003394, allocations: 6.531 kB / 0.7776 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.003398, allocations: 3.938 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.003405, allocations: 0 / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.003451, allocations: 4 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.003454, allocations: 0.6562 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.003466, allocations: 1 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.003473, allocations: 8.672 kB / 0.7776 GB, free: 2.969 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 (1): * Single equations (assignments): 1 * 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 5.053e-05/0.003523, allocations: 111.5 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.003528, allocations: 0 / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.003547, allocations: 6.984 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.003549, allocations: 0 / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.00355, allocations: 1.828 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003552, allocations: 4 kB / 0.7777 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.348e-05/0.003596, allocations: 65.78 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.003596, allocations: 1.188 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.003614, allocations: 7.984 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.003616, allocations: 0 / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.003619, allocations: 0.5 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00362, allocations: 1.75 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.003621, allocations: 0 / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.541e-05/0.003687, allocations: 69.88 kB / 0.7778 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.00369, allocations: 3.953 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-06/0.003696, allocations: 0.5625 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-06/0.003705, allocations: 4 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.003714, allocations: 1.812 kB / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.003717, allocations: 0 / 0.7778 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.131e-06/0.003723, allocations: 5.953 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003723, allocations: 0 / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.314e-05/0.003806, allocations: 0 / 0.7779 GB, free: 2.648 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): 1 * 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.529e-05/0.003881, allocations: 81.5 kB / 0.7779 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.003933, allocations: 10.39 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.003934, allocations: 0 / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-06/0.003943, allocations: 13.73 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.101e-05/0.003994, allocations: 3.938 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001527/0.004147, allocations: 83.41 kB / 0.778 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.551e-05/0.004173, allocations: 55.36 kB / 0.7781 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.004192, allocations: 6.766 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.004225, allocations: 49.06 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.004226, allocations: 0 / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of Templates: time 0.001524/0.005749, allocations: 284.4 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.188662218861282]