Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001274/0.001274, 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.001676/0.001676, allocations: 161.4 kB / 24.16 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.981/1.981, 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.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.7753 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/3.024e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00197/0.002, allocations: 0.8916 MB / 0.7761 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003011, allocations: 0.9421 MB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.003057, allocations: 2.688 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.003088, allocations: 7.875 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.003178, allocations: 31.55 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.003342, allocations: 43.81 kB / 0.7771 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.003454, allocations: 122 kB / 0.7773 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.00353, allocations: 20.39 kB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.003706, allocations: 91.73 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.003772, allocations: 27.91 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.003787, allocations: 4 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.003837, allocations: 15.98 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.003855, allocations: 17.02 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.003879, allocations: 27.91 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003992, allocations: 71.62 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003994, allocations: 1.719 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003995, allocations: 0 / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003998, allocations: 0 / 0.7775 GB, free: 3.012 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002882/0.004287, allocations: 312.3 kB / 0.7778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.004318, allocations: 14.16 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.004441, allocations: 24.92 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.004576, allocations: 154.1 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.004588, allocations: 5.125 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.004597, allocations: 4.375 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.00472, allocations: 107 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.004726, allocations: 192 / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.004733, allocations: 384 / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004738, allocations: 4.375 kB / 0.7781 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.00477, allocations: 19.92 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.005044, allocations: 355.2 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.005121, allocations: 79.78 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.005144, allocations: 22.64 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.00516, allocations: 0 / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.005182, allocations: 46.48 kB / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005184, allocations: 0 / 0.7786 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001404/0.005324, allocations: 71.89 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.005363, allocations: 106.8 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.005431, allocations: 149.3 kB / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.005448, allocations: 30.83 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.005482, allocations: 100.1 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.005505, allocations: 23.75 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.005537, allocations: 30.5 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.00562, allocations: 326.8 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.005641, allocations: 8.5 kB / 0.7794 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.005669, allocations: 39.28 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.005717, allocations: 46.72 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005719, allocations: 0.5312 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.625e-05/0.005795, allocations: 70.25 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.005808, allocations: 12.66 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005812, allocations: 0 / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.005819, allocations: 5.375 kB / 0.7796 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.005878, allocations: 15.98 kB / 0.7796 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005881, allocations: 4 kB / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.005911, allocations: 0 / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005915, allocations: 4.719 kB / 0.7796 GB, free: 0.6562 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.684e-05/0.005972, allocations: 119.2 kB / 0.7797 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.006006, allocations: 11.98 kB / 0.7797 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.006084, allocations: 65.89 kB / 0.7798 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.006087, allocations: 4.875 kB / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006089, allocations: 0 / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006092, allocations: 0.5312 kB / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.006239, allocations: 90.61 kB / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.00624, allocations: 0 / 0.7799 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.006274, allocations: 15.98 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006276, allocations: 1.75 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-06/0.006281, allocations: 0 / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006283, allocations: 0 / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.006286, allocations: 11.88 kB / 0.7799 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.006423, allocations: 310.6 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.006433, allocations: 9.016 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.006448, allocations: 7.938 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.006529, allocations: 0.5312 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.006576, allocations: 31.89 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.006581, allocations: 0.9375 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.006607, allocations: 36.06 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006607, allocations: 4.594 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000167/0.006774, allocations: 12 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 9.436e-05/0.006868, allocations: 86.3 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.006958, allocations: 48.7 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.006962, allocations: 5.688 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.00699, allocations: 20.84 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.007213, allocations: 23.92 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.007476, allocations: 195.7 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.007521, allocations: 68.38 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.892e-05/0.00757, allocations: 17.19 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.007635, allocations: 68.61 kB / 0.7808 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.007635, allocations: 0 / 0.7808 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.002861/0.0105, allocations: 1.223 MB / 0.782 GB, free: 14.15 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.110718999989331]