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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.162/4.162, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.764e-05/5.78e-05, allocations: 7.344 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2708, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/0.5844, allocations: 124.9 MB / 0.7567 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5847, allocations: 67.97 kB / 0.7568 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.5956, allocations: 2.122 MB / 0.7588 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5956, allocations: 0 / 0.7588 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.5956, allocations: 4 kB / 0.7588 GB, free: 2.633 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.001385/0.597, allocations: 488 kB / 0.7593 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5971, allocations: 8.031 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.498e-05/0.5972, allocations: 42.55 kB / 0.7594 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.5973, allocations: 19.86 kB / 0.7594 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.5975, allocations: 174.9 kB / 0.7595 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.5975, allocations: 12.19 kB / 0.7595 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.5976, allocations: 15.94 kB / 0.7596 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.5979, allocations: 125.6 kB / 0.7597 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.598, allocations: 3.953 kB / 0.7597 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.598, allocations: 7.984 kB / 0.7597 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.598, allocations: 0 / 0.7597 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.5983, allocations: 71.94 kB / 0.7598 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.5998, allocations: 0.6022 MB / 0.7604 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.6002, allocations: 135.8 kB / 0.7605 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.6004, allocations: 46.58 kB / 0.7605 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.6004, allocations: 0 / 0.7605 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.6009, allocations: 146 kB / 0.7607 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.426e-06/0.6009, allocations: 4 kB / 0.7607 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0005034/0.6015, allocations: 137.4 kB / 0.7608 GB, free: 404 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.6015, allocations: 106.8 kB / 0.7609 GB, free: 272 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.6018, allocations: 148.9 kB / 0.761 GB, free: 112 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.6018, allocations: 29.7 kB / 0.7611 GB, free: 76 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6019, allocations: 120.3 kB / 0.7612 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.602, allocations: 39.58 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.602, allocations: 4 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6022, allocations: 338.8 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.6024, allocations: 48 kB / 0.7616 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.6026, allocations: 100.9 kB / 0.7617 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.6028, allocations: 43.92 kB / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6028, allocations: 0 / 0.7617 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005178/0.6033, allocations: 169.4 kB / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6034, allocations: 4 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6034, allocations: 0 / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6034, allocations: 4 kB / 0.7619 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.6039, allocations: 47.89 kB / 0.7619 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.604, allocations: 4 kB / 0.762 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.6046, allocations: 67.88 kB / 0.762 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.6046, allocations: 8 kB / 0.762 GB, free: 15.05 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.000143/0.6048, allocations: 120.9 kB / 0.7621 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.6048, allocations: 15.81 kB / 0.7622 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.6051, allocations: 78.61 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.6051, allocations: 4.188 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6052, allocations: 0 / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6052, allocations: 7.922 kB / 0.7622 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.6055, allocations: 225.5 kB / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6055, allocations: 0 / 0.7625 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.6058, allocations: 39.97 kB / 0.7625 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.6059, allocations: 4 kB / 0.7625 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.6059, allocations: 7.922 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.6059, allocations: 4 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6059, allocations: 3.938 kB / 0.7625 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.6064, allocations: 190 kB / 0.7627 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.6065, allocations: 92.92 kB / 0.7628 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.6065, allocations: 8.172 kB / 0.7628 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.607, allocations: 51.95 kB / 0.7628 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.6072, allocations: 47.92 kB / 0.7629 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.6072, allocations: 4 kB / 0.7629 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001411/0.6074, allocations: 119.7 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/0.6074, allocations: 0 / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003849/0.6078, allocations: 43.92 kB / 0.763 GB, free: 13.89 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.001004/0.6088, allocations: 0.8798 MB / 0.7639 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.6093, allocations: 123.9 kB / 0.764 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6094, allocations: 8 kB / 0.764 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.6096, allocations: 64.08 kB / 0.7641 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.61, allocations: 27.92 kB / 0.7641 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.611, allocations: 227.9 kB / 0.7643 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.6113, allocations: 0.7166 MB / 0.765 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.6115, allocations: 21.33 kB / 0.7651 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6117, allocations: 51.34 kB / 0.7651 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/0.6117, allocations: 384 / 0.7651 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.6422, allocations: 3.567 MB / 0.7686 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.6426, allocations: 170.3 kB / 0.7688 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.274, allocations: 0 / 0.7688 GB, free: 7.965 MB / 0.6511 GB