Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.131/5.131, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 361.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.186/4.186, allocations: 410.7 MB / 1.113 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001909/0.001909, allocations: 183.4 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006808/0.0006811, allocations: 16 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7394, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.9724, allocations: 138.6 MB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.9727, allocations: 71.95 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.9921, allocations: 4.345 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9921, allocations: 0.5 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9921, allocations: 0.7812 kB / 1.601 GB, free: 141.3 MB / 0.8542 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.0009205/0.9931, allocations: 0.5485 MB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9931, allocations: 11.62 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.9932, allocations: 23.81 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.9934, allocations: 203.5 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.9935, allocations: 8 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.9936, allocations: 20 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.994, allocations: 142.6 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.994, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.994, allocations: 7.25 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9941, allocations: 3.953 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.9945, allocations: 99.88 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.9955, allocations: 0.6764 MB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.996, allocations: 160.9 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.9963, allocations: 69.2 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.9963, allocations: 4.656 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.9968, allocations: 168.7 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.9968, allocations: 0 / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0009197/0.9977, allocations: 234.2 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.9978, allocations: 110.8 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.998, allocations: 198.1 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.9981, allocations: 37.7 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.9982, allocations: 117.2 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.9983, allocations: 51.45 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.9984, allocations: 4.562 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.9984, allocations: 336.3 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.9989, allocations: 105.2 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.9993, allocations: 182.8 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.9998, allocations: 163.9 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9998, allocations: 0 / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001106/1.001, allocations: 378.7 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/1.001, allocations: 76.23 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.001, allocations: 0 / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.001, allocations: 4 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/1.001, allocations: 28.33 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.001, allocations: 0 / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/1.002, allocations: 106.7 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/1.002, allocations: 21.05 kB / 1.605 GB, free: 136.8 MB / 0.8542 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,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/1.002, allocations: 140.2 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/1.002, allocations: 15.81 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/1.003, allocations: 112.6 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.003, allocations: 4 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.003, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.003, allocations: 5.281 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/1.003, allocations: 250 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.003, allocations: 0 / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/1.003, allocations: 21.27 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.003, allocations: 1.5 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/1.003, allocations: 11.92 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.003, allocations: 0 / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.003, allocations: 3.938 kB / 1.606 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/1.004, allocations: 219.2 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/1.004, allocations: 89.53 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/1.004, allocations: 7.984 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/1.004, allocations: 26.45 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.005, allocations: 31.94 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.005, allocations: 9.156 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001389/1.005, allocations: 142 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.3e-07/1.005, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004532/1.005, allocations: 56.84 kB / 1.606 GB, free: 135.6 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/1.005, allocations: 112.2 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009397/1.006, allocations: 366.5 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.006, allocations: 0 / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/1.007, allocations: 78.81 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/1.007, allocations: 37.48 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/1.008, allocations: 340.1 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/1.008, allocations: 0.7295 MB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001328/1.008, allocations: 20.62 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/1.008, allocations: 23.42 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/1.008, allocations: 1.406 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.008949/1.017, allocations: 3.111 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB