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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01853/0.01853, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.002276/0.002276, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.21/2.21, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.439/2.439, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.7131, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002041/0.7152, allocations: 1.287 MB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000636/0.7159, allocations: 233.8 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.716, allocations: 1.25 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.716, allocations: 7.328 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.7162, allocations: 24.34 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.7164, allocations: 44.91 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.7166, allocations: 91 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.7167, allocations: 28.48 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.7169, allocations: 59.58 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.717, allocations: 67.62 kB / 0.6852 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.7171, allocations: 6.938 kB / 0.6852 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.7171, allocations: 7.156 kB / 0.6853 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.7172, allocations: 33.45 kB / 0.6853 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.7173, allocations: 46.67 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.7175, allocations: 109.5 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.7175, allocations: 3.938 kB / 0.6854 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7175, allocations: 0.6094 kB / 0.6854 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7175, allocations: 0 / 0.6854 GB, free: 15.44 MB / 0.5261 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.001409/0.719, allocations: 492.7 kB / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.719, allocations: 10.16 kB / 0.6859 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.7191, allocations: 46.97 kB / 0.686 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.7192, allocations: 20.64 kB / 0.686 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.721, allocations: 336.2 kB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.7211, allocations: 8.688 kB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.7211, allocations: 13.19 kB / 0.6863 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.7219, allocations: 186.5 kB / 0.6865 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7219, allocations: 0 / 0.6865 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.722, allocations: 6.016 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.722, allocations: 2.469 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.7231, allocations: 169.9 kB / 0.6867 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.7245, allocations: 0.5723 MB / 0.6872 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.7255, allocations: 212.5 kB / 0.6874 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.7255, allocations: 5.109 kB / 0.6874 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.7263, allocations: 198 kB / 0.6876 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.316e-06/0.7263, allocations: 0 / 0.6876 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.001841/0.7282, allocations: 316.7 kB / 0.6879 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.7283, allocations: 115.2 kB / 0.688 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.7285, allocations: 159.2 kB / 0.6882 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.7286, allocations: 38.75 kB / 0.6882 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.7287, allocations: 114.8 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.7287, allocations: 38.14 kB / 0.6884 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.7287, allocations: 4 kB / 0.6884 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.7288, allocations: 331.1 kB / 0.6887 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.7294, allocations: 101.7 kB / 0.6888 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.73, allocations: 148.1 kB / 0.6889 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.7306, allocations: 99.17 kB / 0.689 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7306, allocations: 0 / 0.689 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001277/0.7319, allocations: 266.8 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.732, allocations: 6.25 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.732, allocations: 0 / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.732, allocations: 2.469 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.7325, allocations: 48 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7325, allocations: 6.531 kB / 0.6893 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.733, allocations: 43.42 kB / 0.6894 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.733, allocations: 10.25 kB / 0.6894 GB, free: 12.84 MB / 0.5261 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.0001643/0.7332, allocations: 135.3 kB / 0.6895 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.7333, allocations: 11.28 kB / 0.6895 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.7337, allocations: 105.4 kB / 0.6896 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7337, allocations: 2.281 kB / 0.6896 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7337, allocations: 1.156 kB / 0.6896 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.7338, allocations: 5.859 kB / 0.6896 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.734, allocations: 228.8 kB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.734, allocations: 1.562 kB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.7343, allocations: 34.75 kB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7344, allocations: 1.031 kB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.7344, allocations: 7.734 kB / 0.6899 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.7344, allocations: 6.766 kB / 0.6899 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7344, allocations: 1.062 kB / 0.6899 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7356, allocations: 297.2 kB / 0.6902 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.7357, allocations: 91.52 kB / 0.6903 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.7358, allocations: 7.016 kB / 0.6903 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.7362, allocations: 34.69 kB / 0.6903 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.7364, allocations: 43.67 kB / 0.6904 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.7365, allocations: 10.45 kB / 0.6904 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001157/0.7366, allocations: 127.8 kB / 0.6905 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7366, allocations: 192 / 0.6905 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003706/0.737, allocations: 32.81 kB / 0.6905 GB, free: 12.03 MB / 0.5261 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.001483/0.7385, allocations: 0.977 MB / 0.6915 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.7398, allocations: 223.3 kB / 0.6917 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7398, allocations: 0 / 0.6917 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.7405, allocations: 116.7 kB / 0.6918 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.7409, allocations: 24.12 kB / 0.6918 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.7443, allocations: 1.32 MB / 0.6931 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.7445, allocations: 0.7166 MB / 0.6938 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.7448, allocations: 26.44 kB / 0.6938 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.745, allocations: 42.69 kB / 0.6939 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.745, allocations: 0 / 0.6939 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.7759, allocations: 3.418 MB / 0.6972 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.7762, allocations: 203.3 kB / 0.6974 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.192, allocations: 0 / 0.6974 GB, free: 8.43 MB / 0.5261 GB