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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009022/0.0009022, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.152/1.152, allocations: 205.1 MB / 222 MB, free: 4.965 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.543/1.543, allocations: 292.3 MB / 0.5484 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.001303/0.001303, allocations: 72 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001955/0.164, allocations: 1.087 MB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1653, allocations: 1.336 MB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.1654, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.1654, allocations: 15.86 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.1655, allocations: 27.78 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.1661, allocations: 245.5 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1663, allocations: 283.3 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1664, allocations: 41.67 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1665, allocations: 103.7 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1666, allocations: 103.6 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.1667, allocations: 16 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.1667, allocations: 23.98 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.1668, allocations: 43.77 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.1669, allocations: 95.56 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1672, allocations: 323.3 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1672, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.1672, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.1672, allocations: 0 / 0.7864 GB, free: 10.14 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.0007105/0.1679, allocations: 0.5605 MB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1679, allocations: 8.031 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.168, allocations: 50.73 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1681, allocations: 20.75 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.1688, allocations: 315.7 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1688, allocations: 12.38 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1688, allocations: 20.38 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1691, allocations: 135.2 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1691, allocations: 4 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1691, allocations: 7.984 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1691, allocations: 7.875 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1693, allocations: 71.89 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.17, allocations: 0.6452 MB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.1703, allocations: 139.8 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1704, allocations: 58.64 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1705, allocations: 8 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.1707, allocations: 137.9 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1707, allocations: 0 / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004881/0.1712, allocations: 205.3 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1713, allocations: 110.7 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1714, allocations: 191.7 kB / 0.7891 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1715, allocations: 33.7 kB / 0.7891 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.1715, allocations: 128.4 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.1716, allocations: 35.67 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1717, allocations: 65.69 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.1718, allocations: 330.8 kB / 0.7896 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.172, allocations: 95.91 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1723, allocations: 164.5 kB / 0.7899 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1726, allocations: 221.3 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1726, allocations: 4 kB / 0.7901 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005961/0.1732, allocations: 348.6 kB / 0.7904 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.1733, allocations: 71.39 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1733, allocations: 0.6875 kB / 0.7905 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1733, allocations: 4 kB / 0.7905 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.293e-05/0.1734, allocations: 15.98 kB / 0.7905 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1734, allocations: 4.062 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.1737, allocations: 75.77 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1738, allocations: 16 kB / 0.7906 GB, free: 5.484 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.0001072/0.1739, allocations: 137.8 kB / 0.7907 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1739, allocations: 19.81 kB / 0.7907 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1742, allocations: 98.52 kB / 0.7908 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1742, allocations: 4 kB / 0.7908 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1742, allocations: 3.938 kB / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1742, allocations: 0 / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1744, allocations: 237.4 kB / 0.7911 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1744, allocations: 4 kB / 0.7911 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.1745, allocations: 19.98 kB / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1745, allocations: 0 / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1745, allocations: 3.984 kB / 0.7911 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1745, allocations: 4 kB / 0.7911 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1745, allocations: 3.938 kB / 0.7911 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.1748, allocations: 194.8 kB / 0.7913 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1749, allocations: 92.86 kB / 0.7914 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1749, allocations: 11.98 kB / 0.7914 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.175, allocations: 11.98 kB / 0.7914 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.1751, allocations: 27.89 kB / 0.7914 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1751, allocations: 7.984 kB / 0.7914 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.1752, allocations: 139.3 kB / 0.7916 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 0 / 0.7916 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002498/0.1755, allocations: 55.94 kB / 0.7916 GB, free: 4.316 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.0005723/0.176, allocations: 0.7462 MB / 0.7924 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.1765, allocations: 310.6 kB / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1765, allocations: 0 / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1767, allocations: 68.39 kB / 0.7927 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.177, allocations: 40.95 kB / 0.7928 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1795, allocations: 2.342 MB / 0.795 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1798, allocations: 0.7242 MB / 0.7958 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.721e-05/0.1799, allocations: 29.55 kB / 0.7958 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.1799, allocations: 55.41 kB / 0.7958 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.1799, allocations: 0 / 0.7958 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6049/0.7848, allocations: 4.524 MB / 0.8003 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.7851, allocations: 215.3 kB / 0.8005 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.456, allocations: 3.938 kB / 0.8005 GB, free: 11.13 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)