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.345/2.345, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.002197/0.002197, allocations: 176.5 kB / 315.4 MB, free: 4.016 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.205/2.205, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 104 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.331e-05/4.316e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8915/1.1, allocations: 132.1 MB / 1.013 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.101, allocations: 74.02 kB / 1.013 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01042/1.111, allocations: 2.119 MB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.111, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.111, allocations: 8 kB / 1.015 GB, free: 4.746 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.001316/1.113, allocations: 488.8 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.113, allocations: 12.03 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/1.113, allocations: 11.91 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/1.113, allocations: 184.2 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.113, allocations: 3.938 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/1.113, allocations: 8 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002475/1.113, allocations: 62.23 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/1.114, allocations: 127.6 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.114, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/1.114, allocations: 7.375 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.114, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/1.115, allocations: 0.5783 MB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/1.115, allocations: 117.1 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/1.115, allocations: 49.98 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.768e-05/1.116, allocations: 336 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/1.116, allocations: 140.8 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/1.116, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003986/1.116, allocations: 120.8 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/1.116, allocations: 114.7 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/1.117, allocations: 144.2 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/1.117, allocations: 33.7 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/1.117, allocations: 107.7 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/1.117, allocations: 47.27 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/1.117, allocations: 0 / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.117, allocations: 326.4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.117, allocations: 45.56 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/1.117, allocations: 92.2 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/1.118, allocations: 42.55 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.118, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004213/1.118, allocations: 154 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.118, allocations: 5.719 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.118, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.118, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/1.119, allocations: 51.89 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.119, allocations: 7.938 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/1.119, allocations: 59.94 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/1.119, allocations: 7.75 kB / 1.018 GB, free: 1.676 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 () * 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.0001322/1.119, allocations: 109.5 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003361/1.12, allocations: 132.5 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/1.12, allocations: 15.81 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/1.12, allocations: 73.23 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.12, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.12, allocations: 8 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.12, allocations: 192 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/1.12, allocations: 196.7 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/1.12, allocations: 8.125 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.121, allocations: 43.89 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.121, allocations: 7.938 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/1.121, allocations: 4 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.121, allocations: 8.859 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.121, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/1.121, allocations: 183.3 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/1.121, allocations: 85.02 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/1.121, allocations: 15.55 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/1.122, allocations: 43.95 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.122, allocations: 47.05 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/1.122, allocations: 11.98 kB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001154/1.122, allocations: 118.6 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.122, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000357/1.122, allocations: 31.91 kB / 1.019 GB, free: 0.5469 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) * 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.0008308/1.123, allocations: 0.8727 MB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004084/1.124, allocations: 111.2 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.124, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/1.124, allocations: 61.06 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/1.124, allocations: 27.38 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/1.125, allocations: 218.5 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.125, allocations: 0.7124 MB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001568/1.126, allocations: 21.33 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/1.126, allocations: 40.05 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.126, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/1.165, allocations: 3.128 MB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/1.166, allocations: 157.7 kB / 1.025 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.628, allocations: 0 / 1.025 GB, free: 11.22 MB / 0.6511 GB