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.0009459/0.0009459, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.0009541/0.0009541, allocations: 171.9 kB / 25.05 MB, free: 9.211 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.9371/0.9371, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.89/1.89, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.423e-06/1.423e-06, allocations: 0 / 0.7762 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.48e-05, allocations: 7.719 kB / 0.7762 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001299/0.001314, allocations: 0.8831 MB / 0.7771 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.002205, allocations: 0.9443 MB / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.002249, allocations: 0 / 0.778 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.002292, allocations: 7.875 kB / 0.778 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.002383, allocations: 29.42 kB / 0.778 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002552, allocations: 52.45 kB / 0.7781 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.002664, allocations: 113.7 kB / 0.7782 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.002746, allocations: 21.94 kB / 0.7782 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.002916, allocations: 83.75 kB / 0.7783 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.002979, allocations: 36.39 kB / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.002995, allocations: 9.719 kB / 0.7783 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.003045, allocations: 8 kB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.003061, allocations: 15.91 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.003083, allocations: 27.92 kB / 0.7784 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.003191, allocations: 76.36 kB / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003193, allocations: 0 / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003194, allocations: 0 / 0.7785 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.003198, allocations: 0.5 kB / 0.7785 GB, free: 2.938 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.0003198/0.003517, allocations: 317.1 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.003552, allocations: 11.78 kB / 0.7788 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.003671, allocations: 24.92 kB / 0.7788 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.004123, allocations: 154.4 kB / 0.7789 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.004138, allocations: 4.375 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.00415, allocations: 8.375 kB / 0.779 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.004272, allocations: 100.7 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004281, allocations: 2.938 kB / 0.7791 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004288, allocations: 4.375 kB / 0.7791 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.004294, allocations: 4.359 kB / 0.7791 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.004326, allocations: 19.92 kB / 0.7791 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.00458, allocations: 356.5 kB / 0.7794 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.004659, allocations: 78.47 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.004681, allocations: 22.58 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.004697, allocations: 4 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.004718, allocations: 42.5 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.004719, allocations: 0 / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001522/0.004871, allocations: 75.28 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.004915, allocations: 102.8 kB / 0.7797 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.004984, allocations: 148.7 kB / 0.7799 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.005, allocations: 30.84 kB / 0.7799 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.005034, allocations: 100.1 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.005059, allocations: 27.73 kB / 0.78 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.00509, allocations: 30.28 kB / 0.7801 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.005172, allocations: 331.9 kB / 0.7804 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.005188, allocations: 8 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.005215, allocations: 34.5 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.005256, allocations: 35.19 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005258, allocations: 0.7812 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.478e-05/0.005333, allocations: 86.22 kB / 0.7805 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005346, allocations: 7.938 kB / 0.7805 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00535, allocations: 0.9062 kB / 0.7805 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.005359, allocations: 4 kB / 0.7805 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.005414, allocations: 13.42 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005418, allocations: 0 / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.005447, allocations: 4 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005452, allocations: 0 / 0.7806 GB, free: 0.582 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 6.237e-05/0.005515, allocations: 124.4 kB / 0.7807 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.005552, allocations: 15.92 kB / 0.7807 GB, free: 448 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.13e-05/0.005623, allocations: 65.95 kB / 0.7807 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.005626, allocations: 3.984 kB / 0.7808 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005628, allocations: 0.875 kB / 0.7808 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.005633, allocations: 4 kB / 0.7808 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.005771, allocations: 85.83 kB / 0.7808 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005772, allocations: 1.031 kB / 0.7808 GB, free: 264 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.005805, allocations: 11.98 kB / 0.7809 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005808, allocations: 0.9375 kB / 0.7809 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.005814, allocations: 4 kB / 0.7809 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.005816, allocations: 3.938 kB / 0.7809 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.005817, allocations: 4.469 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.005948, allocations: 307.6 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.005957, allocations: 7.953 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.005972, allocations: 4 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.006046, allocations: 13.39 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.006093, allocations: 23.89 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.006098, allocations: 4 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.006123, allocations: 36.27 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006123, allocations: 5.344 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001612/0.006284, allocations: 19.94 kB / 0.7813 GB, free: 15.81 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 6.893e-05/0.006353, allocations: 81.11 kB / 0.7813 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.006435, allocations: 45.86 kB / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006436, allocations: 0 / 0.7814 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.006467, allocations: 33.81 kB / 0.7814 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.006672, allocations: 9.312 kB / 0.7814 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.00691, allocations: 206.6 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.006951, allocations: 64.66 kB / 0.7817 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.006996, allocations: 17.05 kB / 0.7817 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.007049, allocations: 59.38 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.00705, allocations: 2.156 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.002658/0.009708, allocations: 1.227 MB / 0.783 GB, free: 14.07 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 & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.778814031742513]