Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.88/2.88, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 180.5 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 96.11 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.696e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8145, allocations: 115.3 MB / 0.9635 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/1.067, allocations: 137.8 MB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.067, allocations: 71.97 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02116/1.088, allocations: 4.306 MB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.089, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.089, allocations: 4 kB / 1.102 GB, free: 14.34 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.000979/1.09, allocations: 0.5092 MB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.09, allocations: 8.031 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.09, allocations: 31.67 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/1.09, allocations: 204 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/1.09, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/1.09, allocations: 21.31 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001964/1.09, allocations: 44 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/1.091, allocations: 117.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/1.091, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/1.091, allocations: 11.94 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.091, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.092, allocations: 0.6458 MB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/1.092, allocations: 136 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/1.092, allocations: 42.64 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/1.092, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/1.093, allocations: 141.9 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/1.093, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004437/1.093, allocations: 133.4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.093, allocations: 110.8 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.094, allocations: 171.3 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/1.094, allocations: 33.69 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.094, allocations: 124.4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/1.094, allocations: 39.45 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/1.094, allocations: 4 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.094, allocations: 330.8 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/1.094, allocations: 83.98 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/1.095, allocations: 153.3 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/1.095, allocations: 96 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.095, allocations: 7.953 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001146/1.096, allocations: 281 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/1.097, allocations: 71.52 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.097, allocations: 4 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.097, allocations: 4 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/1.097, allocations: 23.92 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.097, allocations: 4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008592/1.098, allocations: 107.8 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/1.098, allocations: 19.17 kB / 1.106 GB, free: 10.37 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,$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 () * 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.0001692/1.098, allocations: 120.7 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/1.098, allocations: 19.77 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/1.098, allocations: 71.3 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/1.098, allocations: 144 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.098, allocations: 4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.098, allocations: 3.984 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/1.099, allocations: 222 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.099, allocations: 0 / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.099, allocations: 23.92 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.099, allocations: 3.953 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/1.099, allocations: 7.984 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/1.099, allocations: 0 / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.099, allocations: 0 / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/1.099, allocations: 195.4 kB / 1.107 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/1.099, allocations: 88.92 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/1.1, allocations: 4 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.1, allocations: 27.97 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.1, allocations: 27.95 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.1, allocations: 13.42 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001571/1.1, allocations: 131.3 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.1, allocations: 3.938 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005237/1.101, allocations: 48 kB / 1.107 GB, free: 9.266 MB / 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) * 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.0002314/1.101, allocations: 116.1 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006795/1.102, allocations: 306.7 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.102, allocations: 0 / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/1.102, allocations: 51.94 kB / 1.107 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/1.102, allocations: 43.81 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/1.103, allocations: 205.8 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.103, allocations: 0.7204 MB / 1.108 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001434/1.103, allocations: 21.86 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/1.104, allocations: 23.42 kB / 1.108 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.104, allocations: 0 / 1.108 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of Templates: time 0.009625/1.113, allocations: 2.837 MB / 1.111 GB, free: 4.969 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)