Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01045/0.01046, allocations: 88.19 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001291/0.001291, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.196/2.196, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.708/2.708, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005051, allocations: 14.34 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2755, allocations: 106.2 MB / 0.7281 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002225/0.2778, allocations: 1.3 MB / 0.7294 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.2785, allocations: 244.9 kB / 0.7296 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2786, allocations: 0 / 0.7296 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.2787, allocations: 3.938 kB / 0.7296 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2788, allocations: 27.83 kB / 0.7296 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2791, allocations: 39.94 kB / 0.7297 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.2793, allocations: 95.81 kB / 0.7297 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2794, allocations: 29.47 kB / 0.7298 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2796, allocations: 55.77 kB / 0.7298 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2797, allocations: 71.72 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.2798, allocations: 4 kB / 0.7299 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.2798, allocations: 8 kB / 0.7299 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.2799, allocations: 27.89 kB / 0.7299 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.2799, allocations: 53.62 kB / 0.73 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2801, allocations: 112 kB / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2802, allocations: 0 / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2802, allocations: 0 / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2802, allocations: 7.938 kB / 0.7301 GB, free: 8.016 MB / 0.5573 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.001447/0.2816, allocations: 490.7 kB / 0.7306 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2817, allocations: 8.031 kB / 0.7306 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.2818, allocations: 42.55 kB / 0.7306 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.2819, allocations: 19.86 kB / 0.7306 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.2837, allocations: 345.1 kB / 0.731 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.2838, allocations: 11.98 kB / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.2838, allocations: 8 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.2846, allocations: 192 kB / 0.7312 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2846, allocations: 0 / 0.7312 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.2847, allocations: 0 / 0.7312 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2847, allocations: 7.984 kB / 0.7312 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.2857, allocations: 163.9 kB / 0.7313 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2872, allocations: 0.5828 MB / 0.7319 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2882, allocations: 211.8 kB / 0.7321 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.2883, allocations: 4 kB / 0.7321 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.2892, allocations: 189.9 kB / 0.7323 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 3.075e-06/0.2892, allocations: 0 / 0.7323 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.001778/0.291, allocations: 321.2 kB / 0.7326 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.2911, allocations: 114.8 kB / 0.7327 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.2914, allocations: 161.2 kB / 0.7329 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.2915, allocations: 33.7 kB / 0.7329 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2916, allocations: 116.3 kB / 0.733 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.2917, allocations: 39.45 kB / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.2917, allocations: 4 kB / 0.733 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2918, allocations: 330.8 kB / 0.7334 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.2924, allocations: 95.92 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.2931, allocations: 146.9 kB / 0.7336 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.2937, allocations: 87.89 kB / 0.7337 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2937, allocations: 3.984 kB / 0.7337 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001263/0.2949, allocations: 273.2 kB / 0.7339 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.295, allocations: 4 kB / 0.7339 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.295, allocations: 0 / 0.7339 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.295, allocations: 4 kB / 0.7339 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.2955, allocations: 43.97 kB / 0.734 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.2955, allocations: 4 kB / 0.734 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.296, allocations: 51.8 kB / 0.734 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.296, allocations: 4 kB / 0.734 GB, free: 3.676 MB / 0.5573 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.0002027/0.2962, allocations: 138.8 kB / 0.7342 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.2963, allocations: 15.91 kB / 0.7342 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.2968, allocations: 102.6 kB / 0.7343 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2968, allocations: 0 / 0.7343 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2968, allocations: 4 kB / 0.7343 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.2968, allocations: 0 / 0.7343 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.2971, allocations: 225.5 kB / 0.7345 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.2972, allocations: 8 kB / 0.7345 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.2975, allocations: 39.95 kB / 0.7346 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2975, allocations: 0 / 0.7346 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.2975, allocations: 4 kB / 0.7346 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2975, allocations: 0 / 0.7346 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2975, allocations: 0.5625 kB / 0.7346 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2987, allocations: 301.8 kB / 0.7348 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.2988, allocations: 89.23 kB / 0.7349 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.2989, allocations: 16 kB / 0.7349 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.2993, allocations: 39.95 kB / 0.735 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.2995, allocations: 39.92 kB / 0.735 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.2996, allocations: 11.97 kB / 0.735 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001331/0.2997, allocations: 122.7 kB / 0.7351 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2997, allocations: 4 kB / 0.7352 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003581/0.3001, allocations: 28 kB / 0.7352 GB, free: 2.398 MB / 0.5573 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.001717/0.3018, allocations: 0.9805 MB / 0.7361 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3031, allocations: 219.8 kB / 0.7363 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3031, allocations: 3.938 kB / 0.7363 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.3037, allocations: 103.9 kB / 0.7364 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3041, allocations: 35.88 kB / 0.7365 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.3078, allocations: 1.315 MB / 0.7378 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3082, allocations: 0.7166 MB / 0.7385 GB, free: 14.89 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.3084, allocations: 29.53 kB / 0.7385 GB, free: 14.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.3086, allocations: 39.42 kB / 0.7385 GB, free: 14.83 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/0.3086, allocations: 3.938 kB / 0.7385 GB, free: 14.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3367, allocations: 3.417 MB / 0.7419 GB, free: 11.52 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.3371, allocations: 198.6 kB / 0.7421 GB, free: 11.28 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/2.996, allocations: 4 kB / 0.7421 GB, free: 11.27 MB / 0.573 GB