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.091/2.091, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001557, allocations: 180.2 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.413/2.413, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001193/0.001193, allocations: 100.8 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 18.05 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.4728, allocations: 132 MB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.4733, allocations: 71.95 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.4883, allocations: 2.13 MB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4883, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4884, allocations: 4 kB / 1.03 GB, free: 11.07 MB / 0.6823 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.001479/0.4898, allocations: 0.5024 MB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4899, allocations: 8.031 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.49, allocations: 38.56 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.4901, allocations: 23.84 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.4903, allocations: 184.1 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4903, allocations: 4 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.4903, allocations: 12 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.4912, allocations: 188.1 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4912, allocations: 11.89 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.4912, allocations: 4 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4912, allocations: 4 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4923, allocations: 175.8 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.4939, allocations: 0.6023 MB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4951, allocations: 219.8 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.4951, allocations: 4 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008202/0.4959, allocations: 202.7 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.865e-06/0.496, allocations: 0 / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.001905/0.4979, allocations: 333.8 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.498, allocations: 110.8 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.4982, allocations: 152 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.4983, allocations: 33.7 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4984, allocations: 116.3 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.4985, allocations: 39.39 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.4985, allocations: 8 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4986, allocations: 330.8 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.4993, allocations: 107.9 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.4999, allocations: 156.9 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.5005, allocations: 95.89 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5006, allocations: 4 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001422/0.502, allocations: 281.2 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.502, allocations: 8 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5021, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5021, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.5026, allocations: 47.89 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5026, allocations: 4 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.5032, allocations: 63.94 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.5032, allocations: 8 kB / 1.034 GB, free: 6.734 MB / 0.6823 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.0002015/0.5034, allocations: 138 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.5035, allocations: 11.81 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/0.504, allocations: 114.6 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.504, allocations: 4 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5041, allocations: 0 / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5041, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.5044, allocations: 229.6 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.5044, allocations: 3.953 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.5047, allocations: 43.89 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.5048, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.5048, allocations: 4 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.5048, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5048, allocations: 4 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.5061, allocations: 311.4 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.5062, allocations: 92.92 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.5063, allocations: 4 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.5068, allocations: 56.06 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.507, allocations: 43.92 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.507, allocations: 8 kB / 1.035 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001387/0.5072, allocations: 125.8 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5072, allocations: 0 / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000358/0.5075, allocations: 32 kB / 1.035 GB, free: 5.418 MB / 0.6823 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.001753/0.5093, allocations: 0.9912 MB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.5107, allocations: 228.2 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5108, allocations: 4.188 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.5115, allocations: 119.9 kB / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5118, allocations: 27.88 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.5157, allocations: 1.373 MB / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.5161, allocations: 0.7166 MB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.5163, allocations: 13.55 kB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.5165, allocations: 55.41 kB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/0.5165, allocations: 3.938 kB / 1.038 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.5491, allocations: 3.551 MB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003656/0.5495, allocations: 203.7 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.175, allocations: 6.391 kB / 1.042 GB, free: 14.12 MB / 0.698 GB