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.001243/0.001243, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001205/0.001205, allocations: 191 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.576/1.576, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001383/0.001383, allocations: 71.81 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002008/0.1865, allocations: 1.091 MB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1878, allocations: 1.304 MB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.1879, allocations: 4 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.1879, allocations: 7.875 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1881, allocations: 31.78 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.1886, allocations: 247.1 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1889, allocations: 331.3 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.189, allocations: 45.66 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1891, allocations: 123.7 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1893, allocations: 119.5 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.1893, allocations: 32 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.1894, allocations: 43.98 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.1894, allocations: 39.84 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.1895, allocations: 119.5 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1898, allocations: 335.3 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1898, allocations: 0 / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1898, allocations: 3.938 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1898, allocations: 0 / 0.7868 GB, free: 9.902 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.0007079/0.1906, allocations: 0.5643 MB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1906, allocations: 8.031 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1906, allocations: 42.73 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.1907, allocations: 20.75 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.1914, allocations: 315.7 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1914, allocations: 12.38 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1915, allocations: 20.38 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1917, allocations: 136.4 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1917, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1917, allocations: 0 / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1917, allocations: 4 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.1919, allocations: 79.88 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.1926, allocations: 0.649 MB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.1929, allocations: 131.8 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.193, allocations: 58.72 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1931, allocations: 3.984 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1933, allocations: 137.8 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.1933, allocations: 0 / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004768/0.1938, allocations: 205.3 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1938, allocations: 118.6 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.194, allocations: 190.6 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.194, allocations: 37.7 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1941, allocations: 132.3 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1942, allocations: 35.69 kB / 0.7895 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1943, allocations: 61.67 kB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.1944, allocations: 326.8 kB / 0.7899 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1946, allocations: 95.89 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1948, allocations: 162.1 kB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.1952, allocations: 237.2 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1952, allocations: 0.5 kB / 0.7904 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005964/0.1958, allocations: 344.8 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.1958, allocations: 66.06 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1958, allocations: 0 / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1959, allocations: 8.125 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.1959, allocations: 23.92 kB / 0.7908 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.196, allocations: 11.92 kB / 0.7908 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.1963, allocations: 59.78 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1963, allocations: 19.98 kB / 0.7909 GB, free: 5.254 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,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1965, allocations: 142.4 kB / 0.791 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1965, allocations: 20.03 kB / 0.7911 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1967, allocations: 98.56 kB / 0.7912 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1967, allocations: 0 / 0.7912 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1968, allocations: 3.938 kB / 0.7912 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1968, allocations: 4 kB / 0.7912 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.1969, allocations: 241.5 kB / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1969, allocations: 0 / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.197, allocations: 19.92 kB / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.197, allocations: 0 / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1971, allocations: 4 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1971, allocations: 0 / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1971, allocations: 3.938 kB / 0.7914 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1974, allocations: 194.6 kB / 0.7916 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1974, allocations: 88.92 kB / 0.7917 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1975, allocations: 11.88 kB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1976, allocations: 15.98 kB / 0.7917 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1976, allocations: 31.83 kB / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1977, allocations: 8 kB / 0.7918 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.979e-05/0.1978, allocations: 143.2 kB / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1978, allocations: 0 / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002523/0.198, allocations: 43.94 kB / 0.7919 GB, free: 4.09 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 (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.0005737/0.1986, allocations: 0.7389 MB / 0.7927 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.1991, allocations: 326.6 kB / 0.793 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1991, allocations: 0 / 0.793 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1993, allocations: 64.16 kB / 0.793 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.1996, allocations: 47.89 kB / 0.7931 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.2021, allocations: 2.334 MB / 0.7953 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.2023, allocations: 0.7203 MB / 0.7961 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.2024, allocations: 29.48 kB / 0.7961 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.2025, allocations: 59.41 kB / 0.7961 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2025, allocations: 0 / 0.7961 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.2159, allocations: 4.694 MB / 0.8007 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.2162, allocations: 221 kB / 0.8009 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.868, allocations: 0 / 0.8009 GB, free: 10.75 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/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)