Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 252 MB / 267.3 MB, free: 10.8 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.001261/0.001261, allocations: 178.4 kB / 327 MB, free: 2.062 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009044/0.0009044, allocations: 98.33 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 17.23 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 106.3 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001644/0.1923, allocations: 1.336 MB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005222/0.1929, allocations: 240.1 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.1929, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.193, allocations: 7.922 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1931, allocations: 31.73 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1933, allocations: 47.94 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1935, allocations: 155.6 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1936, allocations: 21.48 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.1937, allocations: 51.83 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.1938, allocations: 83.58 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1939, allocations: 8 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.1939, allocations: 8 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1939, allocations: 27.84 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.194, allocations: 89.34 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1941, allocations: 143.7 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1942, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1942, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1942, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 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.0008363/0.195, allocations: 490.9 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1951, allocations: 12.03 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.1951, allocations: 42.67 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1952, allocations: 12.84 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.1961, allocations: 352.6 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.1962, allocations: 8.375 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1962, allocations: 12.38 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.1966, allocations: 192.3 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1966, allocations: 4 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1967, allocations: 8 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1967, allocations: 4 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.1972, allocations: 155.8 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.198, allocations: 0.5867 MB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.1986, allocations: 211.7 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.1988, allocations: 102.6 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1989, allocations: 4 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.1993, allocations: 197.8 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.1994, allocations: 0 / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0009283/0.2003, allocations: 325.2 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2003, allocations: 110.8 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2005, allocations: 158.1 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2005, allocations: 33.7 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.2006, allocations: 120.3 kB / 0.9061 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2006, allocations: 47.5 kB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.2006, allocations: 8 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.317e-05/0.2007, allocations: 322.8 kB / 0.9065 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2009, allocations: 99.78 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.2013, allocations: 154.5 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.2018, allocations: 186.4 kB / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2018, allocations: 3.938 kB / 0.9069 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006358/0.2025, allocations: 269.2 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2025, allocations: 8 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2025, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2025, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.2028, allocations: 51.89 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2028, allocations: 0 / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.203, allocations: 55.75 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.2031, allocations: 8 kB / 0.9073 GB, free: 56.36 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.2032, allocations: 129.8 kB / 0.9074 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.2032, allocations: 11.91 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.2035, allocations: 102.6 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2035, allocations: 4 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2035, allocations: 0.5625 kB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2035, allocations: 7.938 kB / 0.9075 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.2036, allocations: 221.5 kB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2036, allocations: 8 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2038, allocations: 31.97 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2038, allocations: 4 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2038, allocations: 0 / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2038, allocations: 4 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2038, allocations: 3.984 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.2044, allocations: 276.8 kB / 0.9081 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2045, allocations: 88.95 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.2045, allocations: 8 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.2047, allocations: 39.95 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.2049, allocations: 39.88 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2049, allocations: 7.984 kB / 0.9082 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.2049, allocations: 120.9 kB / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.205, allocations: 0 / 0.9083 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002405/0.2052, allocations: 28.19 kB / 0.9084 GB, free: 55.15 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000825/0.206, allocations: 0.823 MB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2067, allocations: 219.7 kB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2067, allocations: 4 kB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.207, allocations: 119.8 kB / 0.9095 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2073, allocations: 23.92 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.21, allocations: 2.048 MB / 0.9115 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2101, allocations: 0.7128 MB / 0.9122 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.2102, allocations: 22.02 kB / 0.9122 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.2103, allocations: 47.41 kB / 0.9123 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2103, allocations: 4 kB / 0.9123 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.2408, allocations: 3.324 MB / 0.9155 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.2411, allocations: 227.5 kB / 0.9158 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.05, allocations: 0 / 0.9158 GB, free: 47.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)