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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 187.7 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.45 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002311/0.2691, allocations: 1.025 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2707, allocations: 1.305 MB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.2708, allocations: 0 / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.2709, allocations: 15.8 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.271, allocations: 39.66 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.2717, allocations: 269.9 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.2721, allocations: 335.3 kB / 0.7871 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2723, allocations: 41.67 kB / 0.7871 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2724, allocations: 127.7 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.2726, allocations: 119.5 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2727, allocations: 32 kB / 0.7874 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.2728, allocations: 47.98 kB / 0.7874 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.2728, allocations: 47.77 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.273, allocations: 111.6 kB / 0.7876 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2733, allocations: 339 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2733, allocations: 0 / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2733, allocations: 0 / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.2734, allocations: 3.938 kB / 0.7879 GB, free: 8.895 MB / 0.6075 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.0008676/0.2742, allocations: 0.5682 MB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2743, allocations: 11.97 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.2744, allocations: 24.75 kB / 0.7885 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.2751, allocations: 308 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2751, allocations: 12.38 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.2752, allocations: 24.36 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2755, allocations: 132.7 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2755, allocations: 3.938 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2755, allocations: 0 / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2755, allocations: 4 kB / 0.7889 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.2757, allocations: 83.88 kB / 0.789 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.2765, allocations: 0.6373 MB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.2769, allocations: 131.9 kB / 0.7898 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.277, allocations: 54.7 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.277, allocations: 8 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.2774, allocations: 149.8 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2774, allocations: 0 / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005472/0.2779, allocations: 209.3 kB / 0.7902 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.278, allocations: 102.8 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.2782, allocations: 194.5 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2782, allocations: 33.7 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.2783, allocations: 132.4 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.2784, allocations: 35.55 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2785, allocations: 61.69 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2786, allocations: 338.8 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.2788, allocations: 87.91 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.2791, allocations: 163.6 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.2795, allocations: 233.2 kB / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2795, allocations: 0 / 0.7915 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006111/0.2801, allocations: 348.6 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.2802, allocations: 67.39 kB / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2802, allocations: 0 / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2802, allocations: 4 kB / 0.7919 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.2803, allocations: 23.92 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2803, allocations: 3.938 kB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.2807, allocations: 75.83 kB / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.2807, allocations: 16 kB / 0.792 GB, free: 4.285 MB / 0.6075 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.0001427/0.2808, allocations: 137.8 kB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2809, allocations: 15.81 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.2812, allocations: 102.8 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2812, allocations: 7.938 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2812, allocations: 3.938 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2812, allocations: 0.6875 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2814, allocations: 241.4 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2814, allocations: 4 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.2815, allocations: 15.98 kB / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2815, allocations: 0 / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.2816, allocations: 11.98 kB / 0.7925 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.2816, allocations: 7.938 kB / 0.7925 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2816, allocations: 3.938 kB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.2819, allocations: 186.6 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.282, allocations: 92.92 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.282, allocations: 4 kB / 0.7928 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2821, allocations: 15.98 kB / 0.7928 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.2822, allocations: 27.89 kB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2822, allocations: 7.984 kB / 0.7928 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000102/0.2823, allocations: 140.4 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2823, allocations: 0 / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002776/0.2826, allocations: 47.98 kB / 0.793 GB, free: 3.121 MB / 0.6075 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.0001969/0.2828, allocations: 117.8 kB / 0.7931 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2834, allocations: 318.6 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2834, allocations: 0 / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2836, allocations: 67.91 kB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2839, allocations: 36.22 kB / 0.7935 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.2844, allocations: 296.5 kB / 0.7938 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2846, allocations: 0.7242 MB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.367e-05/0.2847, allocations: 29.48 kB / 0.7946 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.2848, allocations: 27.36 kB / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2848, allocations: 0 / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of Templates: time 0.006288/0.2911, allocations: 3.262 MB / 0.7978 GB, free: 14.21 MB / 0.6231 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)