Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.708/2.708, allocations: 248.5 MB / 261.1 MB, free: 6.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 180.8 kB / 320.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.1 MB / 0.571 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 98.05 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.671e-05, allocations: 8 kB / 0.7869 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 106.3 MB / 0.8907 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8417/1.063, allocations: 131.9 MB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.063, allocations: 73.83 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01125/1.074, allocations: 2.133 MB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.074, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.335e-05/1.074, allocations: 4 kB / 1.022 GB, free: 1.375 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.001382/1.076, allocations: 483.2 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.076, allocations: 8.031 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/1.076, allocations: 45.38 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/1.076, allocations: 18.92 kB / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/1.076, allocations: 192.2 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.076, allocations: 10.62 kB / 1.022 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/1.076, allocations: 10.62 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/1.077, allocations: 122.7 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.077, allocations: 3.953 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/1.077, allocations: 7.625 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.077, allocations: 4 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/1.077, allocations: 68.92 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/1.079, allocations: 0.6061 MB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/1.079, allocations: 134.3 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/1.079, allocations: 48.27 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.079, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/1.08, allocations: 147.8 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/1.08, allocations: 0 / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0004762/1.08, allocations: 129.6 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/1.08, allocations: 106.8 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.08, allocations: 149.5 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/1.081, allocations: 32.33 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.081, allocations: 109.1 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/1.081, allocations: 42.14 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/1.081, allocations: 11.19 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.081, allocations: 332 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/1.081, allocations: 46.62 kB / 1.024 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/1.081, allocations: 94.89 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.081, allocations: 45.86 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.082, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004777/1.082, allocations: 167.2 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.082, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.082, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.082, allocations: 7.938 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/1.083, allocations: 51.64 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.083, allocations: 4.781 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/1.083, allocations: 63.38 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.083, allocations: 4 kB / 1.025 GB, free: 14.16 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.0001499/1.083, allocations: 123.6 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/1.083, allocations: 19.75 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/1.084, allocations: 78.8 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.084, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.084, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.084, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/1.084, allocations: 227.6 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.084, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/1.084, allocations: 35.97 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/1.084, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/1.084, allocations: 6.734 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.084, allocations: 7.938 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.084, allocations: 192 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/1.085, allocations: 198.8 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/1.085, allocations: 92.92 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/1.085, allocations: 3.25 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/1.085, allocations: 47.95 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.086, allocations: 50.84 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.086, allocations: 7.75 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001328/1.086, allocations: 123.6 kB / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.086, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003415/1.086, allocations: 34.81 kB / 1.026 GB, free: 13.1 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.0009628/1.087, allocations: 0.8882 MB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004621/1.088, allocations: 122.7 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.088, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/1.088, allocations: 72.41 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/1.088, allocations: 26.69 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/1.089, allocations: 229.4 kB / 1.027 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/1.09, allocations: 0.7166 MB / 1.028 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001775/1.09, allocations: 21.33 kB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.09, allocations: 40.61 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/1.09, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/1.115, allocations: 3.582 MB / 1.031 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.115, allocations: 163.4 kB / 1.032 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.453, allocations: 0 / 1.032 GB, free: 7.375 MB / 0.6511 GB