Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 192.5 kB / 376.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.1 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 97.92 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 55.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.27, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002713/0.2727, allocations: 1.087 MB / 0.9833 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2752, allocations: 1.336 MB / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2755, allocations: 4 kB / 0.9846 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.891e-05/0.2756, allocations: 11.81 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.2759, allocations: 27.78 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2769, allocations: 239.6 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.2774, allocations: 291.4 kB / 0.9852 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.2776, allocations: 41.66 kB / 0.9852 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.278, allocations: 103.6 kB / 0.9853 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2782, allocations: 103.6 kB / 0.9854 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2784, allocations: 16 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2785, allocations: 27.92 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.2786, allocations: 27.91 kB / 0.9855 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.2787, allocations: 99.5 kB / 0.9856 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.2792, allocations: 323.3 kB / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2792, allocations: 0 / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2792, allocations: 0 / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.2792, allocations: 0 / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001163/0.2804, allocations: 0.5722 MB / 0.9864 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2804, allocations: 8.031 kB / 0.9864 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2806, allocations: 24.75 kB / 0.9865 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/0.2815, allocations: 315.6 kB / 0.9868 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.2815, allocations: 16.36 kB / 0.9868 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2816, allocations: 20.38 kB / 0.9868 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.2819, allocations: 132.7 kB / 0.9869 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2819, allocations: 3.938 kB / 0.9869 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.2819, allocations: 3.984 kB / 0.9869 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2819, allocations: 4 kB / 0.9869 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.2822, allocations: 79.89 kB / 0.987 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009168/0.2831, allocations: 0.6413 MB / 0.9876 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.2835, allocations: 139.8 kB / 0.9878 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2837, allocations: 54.7 kB / 0.9878 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2837, allocations: 0 / 0.9878 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.2841, allocations: 145.8 kB / 0.988 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.2841, allocations: 0 / 0.988 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005888/0.2847, allocations: 201.3 kB / 0.9882 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.2848, allocations: 110.8 kB / 0.9883 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.285, allocations: 194.4 kB / 0.9884 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.285, allocations: 45.64 kB / 0.9885 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2851, allocations: 120.5 kB / 0.9886 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.2852, allocations: 43.61 kB / 0.9886 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.2853, allocations: 61.69 kB / 0.9887 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2855, allocations: 330.8 kB / 0.989 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2857, allocations: 87.95 kB / 0.9891 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.286, allocations: 164.5 kB / 0.9893 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.2865, allocations: 225.2 kB / 0.9895 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2865, allocations: 0 / 0.9895 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007181/0.2872, allocations: 349.3 kB / 0.9898 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.2873, allocations: 63.39 kB / 0.9899 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2873, allocations: 0 / 0.9899 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2873, allocations: 8.125 kB / 0.9899 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2874, allocations: 23.98 kB / 0.9899 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.2875, allocations: 11.94 kB / 0.9899 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2879, allocations: 63.77 kB / 0.99 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.2879, allocations: 16 kB / 0.99 GB, free: 1.992 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001707/0.2881, allocations: 149.7 kB / 0.9901 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.2881, allocations: 15.81 kB / 0.9901 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.2884, allocations: 94.86 kB / 0.9902 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2884, allocations: 0 / 0.9902 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.2884, allocations: 7.938 kB / 0.9902 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2885, allocations: 0 / 0.9902 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.2887, allocations: 245.4 kB / 0.9905 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2887, allocations: 0 / 0.9905 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.2888, allocations: 19.92 kB / 0.9905 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2889, allocations: 0 / 0.9905 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2889, allocations: 7.984 kB / 0.9905 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2889, allocations: 0 / 0.9905 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.2889, allocations: 7.922 kB / 0.9905 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/0.2897, allocations: 0.8011 MB / 0.9913 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.2898, allocations: 96.77 kB / 0.9914 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.2898, allocations: 11.98 kB / 0.9914 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2899, allocations: 7.984 kB / 0.9914 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.29, allocations: 31.95 kB / 0.9914 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.29, allocations: 4 kB / 0.9914 GB, free: 368 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001283/0.2902, allocations: 142.9 kB / 0.9916 GB, free: 224 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2902, allocations: 0 / 0.9916 GB, free: 224 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000404/0.2906, allocations: 44 kB / 0.9916 GB, free: 180 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0002483/0.2908, allocations: 117.7 kB / 0.9917 GB, free: 52 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006348/0.2915, allocations: 322.6 kB / 0.992 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2915, allocations: 3.938 kB / 0.992 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.2917, allocations: 64.28 kB / 0.9921 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.2921, allocations: 42.39 kB / 0.9921 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.2927, allocations: 473.4 kB / 0.9926 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2931, allocations: 0.7245 MB / 0.9933 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.2932, allocations: 29.53 kB / 0.9933 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2933, allocations: 15.44 kB / 0.9933 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/0.2933, allocations: 0 / 0.9933 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of Templates: time 0.007419/0.3007, allocations: 3.107 MB / 0.9964 GB, free: 11.23 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)