Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 109.2 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.094/1.094, allocations: 147.6 MB / 445.6 MB, free: 8.496 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.78 kB / 0.611 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1877, allocations: 83.16 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002409/0.1901, allocations: 0.8306 MB / 0.693 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1916, allocations: 0.8881 MB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1917, allocations: 1.125 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.1918, allocations: 11.81 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.1919, allocations: 18.66 kB / 0.6939 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1921, allocations: 41.39 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1923, allocations: 117.1 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1924, allocations: 23.88 kB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1926, allocations: 49.89 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1927, allocations: 59.11 kB / 0.6941 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1927, allocations: 9.594 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.1927, allocations: 10.34 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.1928, allocations: 22.36 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.1929, allocations: 54.47 kB / 0.6942 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.193, allocations: 125.3 kB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1931, allocations: 2.25 kB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1931, allocations: 0 / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1931, allocations: 0 / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007457/0.1938, allocations: 440.5 kB / 0.6948 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1939, allocations: 9.625 kB / 0.6948 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1939, allocations: 37.5 kB / 0.6948 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.194, allocations: 18.34 kB / 0.6948 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.1945, allocations: 253.6 kB / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1945, allocations: 3.125 kB / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1945, allocations: 11.22 kB / 0.6951 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.1948, allocations: 120.4 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1949, allocations: 1.156 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1949, allocations: 1.125 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1949, allocations: 1.281 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1952, allocations: 82.39 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.1959, allocations: 0.4945 MB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1961, allocations: 117 kB / 0.6959 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1963, allocations: 57.02 kB / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1964, allocations: 1.094 kB / 0.6959 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1964, allocations: 40.8 kB / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1964, allocations: 0 / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006022/0.197, allocations: 156.3 kB / 0.6961 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.1971, allocations: 108.2 kB / 0.6962 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1973, allocations: 151.5 kB / 0.6964 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1973, allocations: 32.58 kB / 0.6964 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.1974, allocations: 101 kB / 0.6965 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.1974, allocations: 27 kB / 0.6965 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1975, allocations: 26.62 kB / 0.6966 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1977, allocations: 326.8 kB / 0.6969 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1978, allocations: 41.48 kB / 0.6969 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.198, allocations: 84.75 kB / 0.697 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1983, allocations: 102 kB / 0.6971 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1983, allocations: 0 / 0.6971 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003689/0.1987, allocations: 139.4 kB / 0.6972 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1987, allocations: 6.75 kB / 0.6972 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1988, allocations: 5.188 kB / 0.6972 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1988, allocations: 1.125 kB / 0.6972 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1989, allocations: 21.66 kB / 0.6973 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1989, allocations: 9.453 kB / 0.6973 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1991, allocations: 18.3 kB / 0.6973 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1991, allocations: 1.438 kB / 0.6973 GB, free: 8.922 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001108/0.1992, allocations: 124.5 kB / 0.6974 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.1993, allocations: 13.41 kB / 0.6974 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1996, allocations: 97.2 kB / 0.6975 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1996, allocations: 1.375 kB / 0.6975 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1996, allocations: 5.359 kB / 0.6975 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1996, allocations: 0 / 0.6975 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.1999, allocations: 202.2 kB / 0.6977 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1999, allocations: 0 / 0.6977 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.2001, allocations: 21.67 kB / 0.6977 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2001, allocations: 1.375 kB / 0.6977 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2001, allocations: 5.359 kB / 0.6977 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2001, allocations: 1.375 kB / 0.6977 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2001, allocations: 4 kB / 0.6977 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.2006, allocations: 371.5 kB / 0.6981 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.2006, allocations: 93.11 kB / 0.6982 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.2007, allocations: 5.375 kB / 0.6982 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2009, allocations: 12.23 kB / 0.6982 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.201, allocations: 25.53 kB / 0.6982 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.201, allocations: 14.67 kB / 0.6982 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.362e-05/0.2011, allocations: 108 kB / 0.6983 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 0.6983 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003204/0.2014, allocations: 15.12 kB / 0.6984 GB, free: 7.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008524/0.2023, allocations: 0.9051 MB / 0.6992 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.2027, allocations: 105.7 kB / 0.6993 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2027, allocations: 3.938 kB / 0.6993 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2029, allocations: 50.45 kB / 0.6994 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.2034, allocations: 12.42 kB / 0.6994 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.2061, allocations: 1.813 MB / 0.7012 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.2065, allocations: 0.7002 MB / 0.7019 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.2066, allocations: 12.64 kB / 0.7019 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.2067, allocations: 39.42 kB / 0.7019 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.2067, allocations: 4 kB / 0.7019 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.2328, allocations: 2.698 MB / 0.7045 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.169, allocations: 4.625 kB / 0.7045 GB, free: 1.809 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.159252197947353] Failed to read output from testmodel.py, exit status != 0: 8.529517455026507 8.265620846 8.067359568 Calling exit ...