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.01129/0.01129, allocations: 105.9 kB / 15.05 MB, free: 5.984 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.001376/0.001377, allocations: 182.8 kB / 15.94 MB, free: 5.941 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.363/2.363, allocations: 194.5 MB / 211.2 MB, free: 11.25 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.321/2.321, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006511/0.0006511, allocations: 16 kB / 0.5871 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6641, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.8887, allocations: 125 MB / 0.8055 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.889, allocations: 71.95 kB / 0.8056 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.9, allocations: 2.127 MB / 0.8076 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9001, allocations: 0 / 0.8076 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.9001, allocations: 4 kB / 0.8076 GB, free: 15.02 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.001435/0.9016, allocations: 0.4987 MB / 0.8081 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.9016, allocations: 8.031 kB / 0.8081 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.577e-05/0.9017, allocations: 38.56 kB / 0.8082 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.9018, allocations: 23.77 kB / 0.8082 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.902, allocations: 182.4 kB / 0.8084 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.902, allocations: 8 kB / 0.8084 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.9021, allocations: 11.94 kB / 0.8084 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.9029, allocations: 188.2 kB / 0.8086 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.9029, allocations: 3.953 kB / 0.8086 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.903, allocations: 11.98 kB / 0.8086 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.903, allocations: 0 / 0.8086 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.9041, allocations: 183.8 kB / 0.8088 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.9057, allocations: 0.5947 MB / 0.8093 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.9068, allocations: 223.8 kB / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.9069, allocations: 3.938 kB / 0.8095 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008255/0.9077, allocations: 193.9 kB / 0.8097 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.837e-06/0.9077, allocations: 4 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001832/0.9096, allocations: 345.3 kB / 0.8101 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.9097, allocations: 106.8 kB / 0.8102 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.9099, allocations: 148.8 kB / 0.8103 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.91, allocations: 33.7 kB / 0.8103 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9101, allocations: 118.8 kB / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.9102, allocations: 39.53 kB / 0.8105 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.9102, allocations: 4 kB / 0.8105 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9103, allocations: 330.8 kB / 0.8108 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.9109, allocations: 103.9 kB / 0.8109 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.9116, allocations: 152.9 kB / 0.8111 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.9122, allocations: 111.1 kB / 0.8112 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9122, allocations: 0 / 0.8112 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001301/0.9135, allocations: 285.2 kB / 0.8114 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9136, allocations: 4 kB / 0.8114 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9136, allocations: 4 kB / 0.8114 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.9136, allocations: 0 / 0.8114 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.9141, allocations: 59.89 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9141, allocations: 0 / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.9146, allocations: 63.8 kB / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.9147, allocations: 15.98 kB / 0.8116 GB, free: 10.68 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.0001768/0.9149, allocations: 126.5 kB / 0.8117 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.9149, allocations: 11.91 kB / 0.8117 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.9154, allocations: 110.6 kB / 0.8118 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.9155, allocations: 4 kB / 0.8118 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9155, allocations: 0 / 0.8118 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9155, allocations: 3.984 kB / 0.8118 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.9158, allocations: 233.4 kB / 0.812 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9158, allocations: 3.953 kB / 0.812 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.9162, allocations: 40.16 kB / 0.8121 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.9162, allocations: 0 / 0.8121 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.9162, allocations: 15.92 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9162, allocations: 3.938 kB / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9163, allocations: 0 / 0.8121 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.9175, allocations: 302.6 kB / 0.8124 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.9176, allocations: 88.92 kB / 0.8125 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.9177, allocations: 4 kB / 0.8125 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.9182, allocations: 51.95 kB / 0.8125 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.9184, allocations: 55.89 kB / 0.8126 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.9184, allocations: 4 kB / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001324/0.9185, allocations: 118.5 kB / 0.8127 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.194e-06/0.9185, allocations: 4 kB / 0.8127 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003703/0.9189, allocations: 35.94 kB / 0.8127 GB, free: 9.363 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.001711/0.9206, allocations: 0.9891 MB / 0.8137 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.922, allocations: 239.7 kB / 0.8139 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.922, allocations: 3.938 kB / 0.8139 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.9227, allocations: 123.9 kB / 0.8141 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.9231, allocations: 23.94 kB / 0.8141 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.927, allocations: 1.375 MB / 0.8154 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.9275, allocations: 0.7166 MB / 0.8161 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.9277, allocations: 17.55 kB / 0.8161 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.9279, allocations: 51.78 kB / 0.8162 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/0.9279, allocations: 0 / 0.8162 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.9526, allocations: 3.56 MB / 0.8197 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/0.953, allocations: 198.1 kB / 0.8199 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.582, allocations: 0 / 0.8199 GB, free: 2.016 MB / 0.6355 GB