Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 285.7 MB / 293.1 MB, free: 10.19 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.00112/0.00112, allocations: 188.8 kB / 361.4 MB, free: 6.828 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.596/1.596, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.00105/0.00105, allocations: 90.89 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.46e-05, allocations: 8 kB / 0.8518 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8003, allocations: 115.3 MB / 0.9644 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.9912, allocations: 138 MB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.9916, allocations: 73.69 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01711/1.009, allocations: 4.301 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/1.009, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.009, allocations: 4 kB / 1.103 GB, free: 13.57 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.0008331/1.01, allocations: 0.5053 MB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.01, allocations: 8.031 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/1.01, allocations: 30.34 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/1.01, allocations: 207.7 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.01, allocations: 8 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/1.01, allocations: 16 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/1.01, allocations: 51.98 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/1.01, allocations: 113 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.011, allocations: 0 / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/1.011, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.011, allocations: 3.953 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/1.011, allocations: 0.6419 MB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/1.012, allocations: 141 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/1.012, allocations: 42.64 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/1.012, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/1.012, allocations: 154.5 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/1.012, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004309/1.013, allocations: 129.4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.013, allocations: 106.8 kB / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/1.013, allocations: 174 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/1.013, allocations: 33.7 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.013, allocations: 121.7 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/1.013, allocations: 39.52 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/1.013, allocations: 8 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.014, allocations: 330.8 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/1.014, allocations: 76 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/1.014, allocations: 158.6 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/1.015, allocations: 87.88 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.015, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009342/1.016, allocations: 287.3 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/1.016, allocations: 71.39 kB / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.016, allocations: 4.094 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/1.016, allocations: 7.984 kB / 1.107 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.016, allocations: 21.61 kB / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/1.016, allocations: 4 kB / 1.107 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1.017, allocations: 111.9 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/1.017, allocations: 19.98 kB / 1.107 GB, free: 9.598 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.0001425/1.017, allocations: 109 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/1.017, allocations: 19.77 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.017, allocations: 83.23 kB / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.017, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.017, allocations: 0 / 1.107 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.017, allocations: 7.984 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/1.017, allocations: 210.1 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.017, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.018, allocations: 23.98 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.018, allocations: 0 / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/1.018, allocations: 11.94 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.018, allocations: 4 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.018, allocations: 3.938 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/1.018, allocations: 186 kB / 1.108 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/1.018, allocations: 92.77 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/1.018, allocations: 12 kB / 1.108 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.018, allocations: 23.97 kB / 1.108 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/1.018, allocations: 23.95 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/1.018, allocations: 15.92 kB / 1.108 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001432/1.019, allocations: 136 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/1.019, allocations: 0 / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004266/1.019, allocations: 56 kB / 1.108 GB, free: 8.496 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.0002325/1.019, allocations: 120.1 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005623/1.02, allocations: 302.7 kB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.02, allocations: 0 / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/1.02, allocations: 59.94 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/1.02, allocations: 37.89 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/1.021, allocations: 201.5 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.021, allocations: 0.7243 MB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001106/1.021, allocations: 21.84 kB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/1.021, allocations: 19.44 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.021, allocations: 0 / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.008402/1.03, allocations: 2.844 MB / 1.112 GB, free: 4.195 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)