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.0008632/0.0008632, 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.003081/0.003081, allocations: 161.6 kB / 24.37 MB, free: 8.5 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.8984/0.8984, allocations: 177.1 MB / 204.8 MB, free: 5.379 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.881/1.881, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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 1.543e-06/1.543e-06, allocations: 0 / 0.7756 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.488e-05, allocations: 3.906 kB / 0.7756 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001298/0.001313, allocations: 0.8851 MB / 0.7765 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.00221, allocations: 0.9423 MB / 0.7774 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.002262, allocations: 0 / 0.7774 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.002299, allocations: 11.81 kB / 0.7774 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.002393, allocations: 26.77 kB / 0.7775 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.002564, allocations: 48.69 kB / 0.7775 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.002675, allocations: 118.1 kB / 0.7776 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.00275, allocations: 17.95 kB / 0.7776 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.002916, allocations: 87.73 kB / 0.7777 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.002972, allocations: 31.89 kB / 0.7778 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.002995, allocations: 8 kB / 0.7778 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.00304, allocations: 12 kB / 0.7778 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.003057, allocations: 18.75 kB / 0.7778 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.00308, allocations: 27.92 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003182, allocations: 71.61 kB / 0.7779 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003183, allocations: 0 / 0.7779 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003184, allocations: 0 / 0.7779 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.003187, allocations: 0 / 0.7779 GB, free: 2.828 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.0003023/0.003489, allocations: 316.4 kB / 0.7782 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.003518, allocations: 14.25 kB / 0.7782 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.003631, allocations: 24.92 kB / 0.7782 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.003766, allocations: 150.4 kB / 0.7784 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.003782, allocations: 13.52 kB / 0.7784 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.003794, allocations: 4.375 kB / 0.7784 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.003908, allocations: 102.4 kB / 0.7785 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003915, allocations: 192 / 0.7785 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003923, allocations: 384 / 0.7785 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003929, allocations: 0.9688 kB / 0.7785 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.003965, allocations: 24.36 kB / 0.7785 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.00422, allocations: 353.1 kB / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.00431, allocations: 81.28 kB / 0.7789 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.004333, allocations: 18.64 kB / 0.7789 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.00435, allocations: 8.562 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004372, allocations: 39.19 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.004373, allocations: 0 / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001403/0.004513, allocations: 74.69 kB / 0.7791 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.004552, allocations: 104 kB / 0.7792 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.004621, allocations: 152.2 kB / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.004636, allocations: 29.69 kB / 0.7793 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.004915, allocations: 101.1 kB / 0.7794 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.004937, allocations: 27.73 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.004968, allocations: 30.19 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.005031, allocations: 318.8 kB / 0.7798 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.005047, allocations: 8.875 kB / 0.7798 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.005074, allocations: 40.23 kB / 0.7798 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.005119, allocations: 46.67 kB / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00512, allocations: 0 / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.927e-05/0.00519, allocations: 74.28 kB / 0.7799 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.0052, allocations: 11.88 kB / 0.78 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005204, allocations: 1.781 kB / 0.78 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.005212, allocations: 4 kB / 0.78 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.005263, allocations: 11.98 kB / 0.78 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.005265, allocations: 64 / 0.78 GB, free: 488 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.005295, allocations: 8 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.005302, allocations: 4.844 kB / 0.78 GB, free: 476 kB / 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.799e-05/0.00536, allocations: 126.3 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.005391, allocations: 9.422 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.005459, allocations: 61.95 kB / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.00546, allocations: 0 / 0.7802 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005463, allocations: 4 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005466, allocations: 0.875 kB / 0.7802 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.005604, allocations: 89.83 kB / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005605, allocations: 0.875 kB / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.005632, allocations: 15.92 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005634, allocations: 0.5625 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.00564, allocations: 4 kB / 0.7803 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005641, allocations: 1.406 kB / 0.7803 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005643, allocations: 3.938 kB / 0.7803 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.005762, allocations: 306.1 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.00577, allocations: 13.2 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.005783, allocations: 0 / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.005857, allocations: 11.98 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.005904, allocations: 32.36 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.005908, allocations: 0.5938 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.005931, allocations: 36.27 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005931, allocations: 1.062 kB / 0.7807 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001673/0.006098, allocations: 16 kB / 0.7807 GB, free: 15.7 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 7.568e-05/0.006174, allocations: 81.45 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.006249, allocations: 45.7 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.006252, allocations: 0 / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.006281, allocations: 29.75 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.006489, allocations: 17.16 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.006714, allocations: 204 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.006753, allocations: 67.28 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.006798, allocations: 22.69 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.006854, allocations: 67.36 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.006854, allocations: 0 / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.002525/0.009379, allocations: 1.22 MB / 0.7824 GB, free: 13.96 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: 4.834656503051519]