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.0008845/0.0008845, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0008958/0.0008958, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9021/0.9021, allocations: 177.1 MB / 205.6 MB, free: 5.398 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.85/1.85, allocations: 389.6 MB / 0.6364 GB, free: 12.2 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.094e-06/2.094e-06, allocations: 0 / 0.7756 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.406e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001311/0.001325, allocations: 0.8811 MB / 0.7765 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008858/0.002211, allocations: 0.9477 MB / 0.7774 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.002258, allocations: 4 kB / 0.7774 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.002293, allocations: 7.875 kB / 0.7774 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.514e-05/0.002388, allocations: 16.09 kB / 0.7774 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.002557, allocations: 53.2 kB / 0.7775 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.00267, allocations: 113.7 kB / 0.7776 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.002746, allocations: 26.39 kB / 0.7776 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.002928, allocations: 92.39 kB / 0.7777 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.00299, allocations: 32.48 kB / 0.7777 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003005, allocations: 4 kB / 0.7777 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.003054, allocations: 9.531 kB / 0.7777 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.003073, allocations: 23.91 kB / 0.7778 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.003099, allocations: 19.92 kB / 0.7778 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.003211, allocations: 75.61 kB / 0.7779 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003213, allocations: 4.531 kB / 0.7779 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003213, allocations: 1.656 kB / 0.7779 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003217, allocations: 0 / 0.7779 GB, free: 3.676 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.0002892/0.003506, allocations: 308.4 kB / 0.7782 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.003539, allocations: 9.344 kB / 0.7782 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.003654, allocations: 25.72 kB / 0.7782 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.003786, allocations: 154.8 kB / 0.7783 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.0038, allocations: 4.875 kB / 0.7783 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.003813, allocations: 13.06 kB / 0.7784 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.003928, allocations: 104.1 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003937, allocations: 6.469 kB / 0.7785 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.003947, allocations: 4.375 kB / 0.7785 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003952, allocations: 4.375 kB / 0.7785 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.003984, allocations: 23.86 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.004245, allocations: 355.2 kB / 0.7788 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.533e-05/0.00432, allocations: 67.78 kB / 0.7789 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.004345, allocations: 30.58 kB / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.004359, allocations: 0 / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.004378, allocations: 34.56 kB / 0.779 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.004378, allocations: 2.781 kB / 0.779 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001339/0.004512, allocations: 77.53 kB / 0.779 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.004558, allocations: 110.8 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.004625, allocations: 142.2 kB / 0.7793 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.004643, allocations: 33.7 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.004674, allocations: 97.86 kB / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.004701, allocations: 35.72 kB / 0.7794 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.004731, allocations: 29.69 kB / 0.7795 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.004802, allocations: 322.8 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.004819, allocations: 8 kB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.004845, allocations: 39.7 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.00489, allocations: 42.67 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004892, allocations: 0.6562 kB / 0.7799 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.492e-05/0.004967, allocations: 74.72 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.004979, allocations: 7.938 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.004983, allocations: 4 kB / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.004989, allocations: 0.5938 kB / 0.7799 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.005038, allocations: 8.5 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005043, allocations: 7.984 kB / 0.78 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.005074, allocations: 4.781 kB / 0.78 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-06/0.005079, allocations: 4.625 kB / 0.78 GB, free: 1.316 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.94e-05/0.005139, allocations: 118.7 kB / 0.7801 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.00517, allocations: 7.984 kB / 0.7801 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.00524, allocations: 59.38 kB / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005243, allocations: 4 kB / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.005246, allocations: 3.984 kB / 0.7801 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005249, allocations: 0 / 0.7801 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.005388, allocations: 90.5 kB / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005389, allocations: 0 / 0.7802 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.005416, allocations: 13.69 kB / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.00542, allocations: 11.98 kB / 0.7803 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.005426, allocations: 4 kB / 0.7803 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005427, allocations: 0 / 0.7803 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.005432, allocations: 12.8 kB / 0.7803 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.005545, allocations: 302.1 kB / 0.7806 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.005555, allocations: 13.08 kB / 0.7806 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.005569, allocations: 7.938 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.00564, allocations: 8.922 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.005686, allocations: 27.89 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.00569, allocations: 0 / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.005714, allocations: 37.34 kB / 0.7807 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005714, allocations: 1.656 kB / 0.7807 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001601/0.005874, allocations: 12 kB / 0.7807 GB, free: 0.5508 MB / 0.7292 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.283e-05/0.005947, allocations: 88.36 kB / 0.7807 GB, free: 468 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.006021, allocations: 42.52 kB / 0.7808 GB, free: 424 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.006028, allocations: 4 kB / 0.7808 GB, free: 420 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.006057, allocations: 26.03 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.006259, allocations: 12.22 kB / 0.7808 GB, free: 380 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.006505, allocations: 237.3 kB / 0.7811 GB, free: 100 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.006574, allocations: 86.5 kB / 0.7811 GB, free: 16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.006631, allocations: 67.38 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.006631, allocations: 0 / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.001737/0.008368, allocations: 1.431 MB / 0.7826 GB, free: 14.55 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 > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.532387079671025]