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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.826/3.826, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.212e-05, allocations: 6.5 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1786, allocations: 98.73 MB / 0.6348 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.3745, allocations: 124.9 MB / 0.7567 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3748, allocations: 71.95 kB / 0.7568 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0093/0.3841, allocations: 2.126 MB / 0.7588 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3842, allocations: 0 / 0.7588 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3842, allocations: 4 kB / 0.7588 GB, free: 2.637 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.001005/0.3852, allocations: 486.2 kB / 0.7593 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3853, allocations: 11.97 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.3853, allocations: 11.91 kB / 0.7593 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3855, allocations: 178.9 kB / 0.7595 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3855, allocations: 8 kB / 0.7595 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3856, allocations: 16 kB / 0.7595 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.3859, allocations: 128.1 kB / 0.7596 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-06/0.386, allocations: 4 kB / 0.7596 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.386, allocations: 11.95 kB / 0.7597 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-06/0.386, allocations: 0 / 0.7597 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.3862, allocations: 63.98 kB / 0.7597 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3876, allocations: 0.6041 MB / 0.7603 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.3879, allocations: 131.8 kB / 0.7604 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.388, allocations: 46.58 kB / 0.7605 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3881, allocations: 0 / 0.7605 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.3884, allocations: 154.1 kB / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.671e-06/0.3884, allocations: 0 / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004064/0.3888, allocations: 133.5 kB / 0.7608 GB, free: 468 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.389, allocations: 122.7 kB / 0.7609 GB, free: 320 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3891, allocations: 145 kB / 0.761 GB, free: 164 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.3892, allocations: 33.7 kB / 0.761 GB, free: 124 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3893, allocations: 116.4 kB / 0.7612 GB, free: 0 / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.3894, allocations: 43.52 kB / 0.7612 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.3895, allocations: 4 kB / 0.7612 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3897, allocations: 326.8 kB / 0.7615 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3898, allocations: 52 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.39, allocations: 97 kB / 0.7617 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3902, allocations: 51.88 kB / 0.7617 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-06/0.3902, allocations: 0 / 0.7617 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004312/0.3907, allocations: 165.4 kB / 0.7619 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.3907, allocations: 4 kB / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.3907, allocations: 0 / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3907, allocations: 4.188 kB / 0.7619 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.3911, allocations: 43.95 kB / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3911, allocations: 11.94 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3915, allocations: 63.88 kB / 0.762 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3915, allocations: 4 kB / 0.762 GB, free: 15.11 MB / 0.6511 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.0001391/0.3917, allocations: 128.9 kB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.3918, allocations: 11.81 kB / 0.7621 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.392, allocations: 82.61 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.871e-06/0.392, allocations: 3.984 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.392, allocations: 4 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.392, allocations: 0 / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3923, allocations: 221.6 kB / 0.7624 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.225e-06/0.3923, allocations: 7.953 kB / 0.7624 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.3926, allocations: 39.95 kB / 0.7625 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.3926, allocations: 4 kB / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3926, allocations: 0 / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.319e-06/0.3927, allocations: 4 kB / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3927, allocations: 0 / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3931, allocations: 198.1 kB / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.3932, allocations: 92.86 kB / 0.7627 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.3932, allocations: 11.98 kB / 0.7628 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.3935, allocations: 47.95 kB / 0.7628 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3937, allocations: 43.92 kB / 0.7628 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3937, allocations: 7.984 kB / 0.7629 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001245/0.3939, allocations: 122.5 kB / 0.763 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.02e-07/0.3939, allocations: 0 / 0.763 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000336/0.3942, allocations: 40 kB / 0.763 GB, free: 13.95 MB / 0.6511 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.0001969/0.3945, allocations: 111.1 kB / 0.7631 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3949, allocations: 123.8 kB / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.057e-06/0.3949, allocations: 0 / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.3951, allocations: 75.92 kB / 0.7633 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3954, allocations: 26.38 kB / 0.7633 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.396, allocations: 183.7 kB / 0.7635 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3964, allocations: 0.7166 MB / 0.7642 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.3966, allocations: 21.33 kB / 0.7642 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.3967, allocations: 15.44 kB / 0.7642 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.989e-06/0.3967, allocations: 0 / 0.7642 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.00689/0.4036, allocations: 2.139 MB / 0.7663 GB, free: 10.5 MB / 0.6511 GB