Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.849/3.849, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.008e-05, allocations: 8 kB / 0.5325 GB, free: 1.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.496, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.6841, allocations: 124.2 MB / 0.7503 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.6843, allocations: 71.95 kB / 0.7503 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009019/0.6934, allocations: 2.104 MB / 0.7524 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.092e-06/0.6934, allocations: 4 kB / 0.7524 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.815e-06/0.6935, allocations: 0 / 0.7524 GB, free: 1.145 MB / 0.6198 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.0009806/0.6944, allocations: 486.2 kB / 0.7528 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6945, allocations: 8.031 kB / 0.7529 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.6946, allocations: 19.8 kB / 0.7529 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.6948, allocations: 182.8 kB / 0.753 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6948, allocations: 0 / 0.753 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.6948, allocations: 11.98 kB / 0.7531 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002147/0.6951, allocations: 56 kB / 0.7531 GB, free: 320 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.6954, allocations: 130.8 kB / 0.7532 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6954, allocations: 0 / 0.7532 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.6954, allocations: 0 / 0.7532 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.6954, allocations: 4 kB / 0.7532 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.6966, allocations: 0.5755 MB / 0.7538 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.6969, allocations: 120 kB / 0.7539 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.6971, allocations: 50.5 kB / 0.754 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.6971, allocations: 4 kB / 0.754 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.6974, allocations: 133.9 kB / 0.7541 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 5.328e-06/0.6974, allocations: 0 / 0.7541 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003662/0.6978, allocations: 129.4 kB / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.6979, allocations: 110.8 kB / 0.7543 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.6981, allocations: 142.9 kB / 0.7545 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.6981, allocations: 37.69 kB / 0.7545 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.6983, allocations: 108.4 kB / 0.7546 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.6983, allocations: 39.45 kB / 0.7546 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.6984, allocations: 0 / 0.7546 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6985, allocations: 326.8 kB / 0.7549 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.6987, allocations: 47.94 kB / 0.755 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.6989, allocations: 95.14 kB / 0.7551 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.699, allocations: 43.92 kB / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-06/0.699, allocations: 0 / 0.7551 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000392/0.6994, allocations: 157.6 kB / 0.7553 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6995, allocations: 8.078 kB / 0.7553 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.806e-06/0.6995, allocations: 3.938 kB / 0.7553 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6995, allocations: 4 kB / 0.7553 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.6999, allocations: 47.91 kB / 0.7553 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.6999, allocations: 4 kB / 0.7553 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.7003, allocations: 59.94 kB / 0.7554 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.7003, allocations: 11.98 kB / 0.7554 GB, free: 13.75 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 () * 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.0001255/0.7004, allocations: 112.9 kB / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.7005, allocations: 19.77 kB / 0.7555 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.7007, allocations: 75.23 kB / 0.7556 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-06/0.7007, allocations: 0 / 0.7556 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7008, allocations: 4 kB / 0.7556 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-06/0.7008, allocations: 4 kB / 0.7556 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.701, allocations: 202.1 kB / 0.7558 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-06/0.7011, allocations: 0 / 0.7558 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7013, allocations: 35.91 kB / 0.7558 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.152e-06/0.7013, allocations: 4 kB / 0.7558 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.7013, allocations: 7.938 kB / 0.7559 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.7014, allocations: 4 kB / 0.7559 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.162e-06/0.7014, allocations: 4 kB / 0.7559 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.7017, allocations: 182.1 kB / 0.756 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.7018, allocations: 88.92 kB / 0.7561 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.7019, allocations: 4 kB / 0.7561 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.7022, allocations: 51.89 kB / 0.7562 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.7024, allocations: 51.84 kB / 0.7562 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.7024, allocations: 4 kB / 0.7562 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001135/0.7025, allocations: 116 kB / 0.7563 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.83e-07/0.7025, allocations: 0 / 0.7563 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003262/0.7029, allocations: 28 kB / 0.7564 GB, free: 12.67 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) * 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.0001975/0.7031, allocations: 111.2 kB / 0.7565 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.7034, allocations: 112 kB / 0.7566 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.834e-06/0.7035, allocations: 0 / 0.7566 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.7037, allocations: 63.94 kB / 0.7566 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.704, allocations: 28.75 kB / 0.7567 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.7045, allocations: 189.9 kB / 0.7568 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.705, allocations: 0.7124 MB / 0.7575 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.7051, allocations: 17.33 kB / 0.7576 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.7052, allocations: 23.42 kB / 0.7576 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.554e-06/0.7052, allocations: 0 / 0.7576 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.006344/0.7116, allocations: 1.977 MB / 0.7595 GB, free: 9.395 MB / 0.6355 GB