Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008914/0.008914, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001098/0.001098, allocations: 177.1 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.102/2.102, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.494/2.494, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004787, allocations: 23.98 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5495, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.7402, allocations: 125 MB / 0.8054 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.7405, allocations: 79.94 kB / 0.8055 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009269/0.7498, allocations: 2.123 MB / 0.8076 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.42e-06/0.7499, allocations: 4 kB / 0.8076 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.22e-06/0.7499, allocations: 0 / 0.8076 GB, free: 15.12 MB / 0.6355 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.001045/0.7509, allocations: 494.9 kB / 0.808 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.751, allocations: 11.97 kB / 0.808 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.7511, allocations: 15.91 kB / 0.8081 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.7513, allocations: 194.3 kB / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7513, allocations: 4 kB / 0.8082 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.7514, allocations: 16 kB / 0.8083 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.752, allocations: 184.8 kB / 0.8084 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.752, allocations: 7.938 kB / 0.8084 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.752, allocations: 7.953 kB / 0.8085 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-06/0.7521, allocations: 3.984 kB / 0.8085 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.7528, allocations: 175.9 kB / 0.8086 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.7541, allocations: 0.5984 MB / 0.8092 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.7549, allocations: 219.8 kB / 0.8094 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.755, allocations: 0 / 0.8094 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/0.7557, allocations: 205.9 kB / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.003e-06/0.7557, allocations: 0 / 0.8096 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.00139/0.7571, allocations: 333.2 kB / 0.8099 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.7572, allocations: 114.8 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.7574, allocations: 146.5 kB / 0.8102 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.7575, allocations: 33.7 kB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.7577, allocations: 116.3 kB / 0.8103 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.7577, allocations: 35.45 kB / 0.8104 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.7578, allocations: 4 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7579, allocations: 330.8 kB / 0.8107 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.7584, allocations: 107.9 kB / 0.8108 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.759, allocations: 154.3 kB / 0.8109 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.7595, allocations: 107.8 kB / 0.811 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.051e-06/0.7595, allocations: 3.953 kB / 0.811 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001025/0.7605, allocations: 281.7 kB / 0.8113 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.7606, allocations: 8 kB / 0.8113 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-06/0.7606, allocations: 0 / 0.8113 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.7606, allocations: 0 / 0.8113 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.761, allocations: 51.95 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.152e-06/0.761, allocations: 64 / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.7614, allocations: 71.88 kB / 0.8114 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.7614, allocations: 15.94 kB / 0.8114 GB, free: 10.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001867/0.7616, allocations: 121.8 kB / 0.8116 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.7617, allocations: 19.77 kB / 0.8116 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.7621, allocations: 114.8 kB / 0.8117 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-06/0.7621, allocations: 0 / 0.8117 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.802e-06/0.7621, allocations: 3.984 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.7622, allocations: 8.031 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.7625, allocations: 225.5 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-06/0.7625, allocations: 4 kB / 0.8119 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.7627, allocations: 43.91 kB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.7628, allocations: 0 / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.7628, allocations: 4.188 kB / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.404e-06/0.7628, allocations: 0 / 0.812 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7628, allocations: 7.938 kB / 0.812 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.7638, allocations: 309.8 kB / 0.8123 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.7639, allocations: 92.92 kB / 0.8124 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.7639, allocations: 4 kB / 0.8124 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.7642, allocations: 55.94 kB / 0.8124 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.7644, allocations: 43.92 kB / 0.8125 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.7645, allocations: 4 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001324/0.7646, allocations: 117.6 kB / 0.8126 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-07/0.7646, allocations: 0 / 0.8126 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003594/0.765, allocations: 32 kB / 0.8126 GB, free: 9.539 MB / 0.6355 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002081/0.7652, allocations: 127.2 kB / 0.8127 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009471/0.7662, allocations: 227.8 kB / 0.8129 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.162e-06/0.7662, allocations: 4 kB / 0.8129 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.7667, allocations: 123.9 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.767, allocations: 33.77 kB / 0.8131 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.7679, allocations: 301.8 kB / 0.8134 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.7684, allocations: 0.7127 MB / 0.8141 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.7685, allocations: 21.55 kB / 0.8141 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.7686, allocations: 15.44 kB / 0.8141 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of SimCode: time 1.665e-06/0.7686, allocations: 0 / 0.8141 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of Templates: time 0.008775/0.7774, allocations: 2.113 MB / 0.8162 GB, free: 5.824 MB / 0.6355 GB