Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005017, allocations: 17.06 kB / 0.6739 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1879, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001014/0.189, allocations: 0.706 MB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1904, allocations: 1.289 MB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.1905, allocations: 4 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.1905, allocations: 7.875 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1906, allocations: 23.78 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.1912, allocations: 225.2 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1914, allocations: 255.4 kB / 0.7899 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1916, allocations: 41.84 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1917, allocations: 95.67 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1918, allocations: 91.62 kB / 0.7901 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1919, allocations: 12 kB / 0.7901 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.192, allocations: 27.98 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.192, allocations: 27.86 kB / 0.7902 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.1921, allocations: 53.64 kB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1923, allocations: 247.6 kB / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1923, allocations: 0 / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1923, allocations: 0 / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1923, allocations: 0 / 0.7904 GB, free: 8.73 MB / 0.6075 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.0006773/0.193, allocations: 0.537 MB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.193, allocations: 8.031 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1931, allocations: 46.55 kB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.1931, allocations: 23.72 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.1938, allocations: 321.5 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1938, allocations: 16 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1939, allocations: 12 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1941, allocations: 136.1 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1941, allocations: 3.938 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1942, allocations: 7.953 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.1942, allocations: 15.97 kB / 0.7915 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1944, allocations: 79.83 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.195, allocations: 0.6452 MB / 0.7922 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1953, allocations: 143.8 kB / 0.7924 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1955, allocations: 54.7 kB / 0.7924 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1955, allocations: 8 kB / 0.7924 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.1958, allocations: 141.8 kB / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1958, allocations: 0 / 0.7926 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004851/0.1963, allocations: 213.3 kB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1963, allocations: 106.8 kB / 0.7929 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1965, allocations: 194.7 kB / 0.7931 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1965, allocations: 37.64 kB / 0.7931 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.1966, allocations: 128.5 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.1967, allocations: 35.61 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1967, allocations: 8 kB / 0.7933 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1968, allocations: 330.8 kB / 0.7936 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.197, allocations: 95.94 kB / 0.7937 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.1973, allocations: 156.5 kB / 0.7938 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.1975, allocations: 159.3 kB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1975, allocations: 0 / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005828/0.1981, allocations: 364.7 kB / 0.7943 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.1981, allocations: 63.41 kB / 0.7944 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1981, allocations: 0 / 0.7944 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1982, allocations: 4 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.1982, allocations: 23.92 kB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1983, allocations: 4.672 kB / 0.7944 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.1986, allocations: 87.88 kB / 0.7945 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.1987, allocations: 15.98 kB / 0.7945 GB, free: 4.195 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001097/0.1988, allocations: 141.7 kB / 0.7946 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1988, allocations: 23.7 kB / 0.7947 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1991, allocations: 102.6 kB / 0.7948 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1991, allocations: 4 kB / 0.7948 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1991, allocations: 4 kB / 0.7948 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1991, allocations: 0 / 0.7948 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1993, allocations: 237.5 kB / 0.795 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1993, allocations: 0 / 0.795 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.1994, allocations: 23.92 kB / 0.795 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1994, allocations: 4.219 kB / 0.795 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1994, allocations: 8 kB / 0.795 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1994, allocations: 3.938 kB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1994, allocations: 4 kB / 0.795 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1997, allocations: 213.6 kB / 0.7952 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1998, allocations: 88.92 kB / 0.7953 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1998, allocations: 8 kB / 0.7953 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1999, allocations: 11.98 kB / 0.7954 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.2, allocations: 31.88 kB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2, allocations: 8 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.994e-05/0.2001, allocations: 140.2 kB / 0.7955 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2001, allocations: 0 / 0.7955 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002574/0.2004, allocations: 51.91 kB / 0.7956 GB, free: 3 MB / 0.6075 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 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005782/0.201, allocations: 0.7544 MB / 0.7963 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.2015, allocations: 322.6 kB / 0.7966 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2015, allocations: 4.25 kB / 0.7966 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2016, allocations: 63.91 kB / 0.7967 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2019, allocations: 39.97 kB / 0.7967 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2037, allocations: 1.189 MB / 0.7979 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2039, allocations: 0.7318 MB / 0.7986 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.204, allocations: 25.53 kB / 0.7986 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.2041, allocations: 59.36 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2041, allocations: 0 / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.2193, allocations: 4.636 MB / 0.8032 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.2195, allocations: 199.1 kB / 0.8034 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.83, allocations: 3.938 kB / 0.8034 GB, free: 10.95 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1) Environment - environmentSimulation: