Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.3 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.049/1.049, allocations: 150 MB / 459.5 MB, free: 5.273 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 65.44 kB / 0.6362 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1669, allocations: 89.14 MB / 0.7232 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002365/0.1692, allocations: 0.8058 MB / 0.724 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1706, allocations: 0.9306 MB / 0.7249 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1707, allocations: 7.938 kB / 0.7249 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.1708, allocations: 11.86 kB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1708, allocations: 7.875 kB / 0.7249 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1711, allocations: 35.97 kB / 0.725 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1712, allocations: 71.72 kB / 0.725 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1713, allocations: 27.95 kB / 0.7251 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1715, allocations: 35.92 kB / 0.7251 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.1715, allocations: 31.78 kB / 0.7251 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1716, allocations: 4 kB / 0.7251 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.1716, allocations: 15.94 kB / 0.7251 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.1716, allocations: 7.984 kB / 0.7252 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.1717, allocations: 35.8 kB / 0.7252 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1718, allocations: 87.83 kB / 0.7253 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1718, allocations: 4 kB / 0.7253 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1718, allocations: 0 / 0.7253 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1718, allocations: 0 / 0.7253 GB, free: 1.973 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005828/0.1724, allocations: 387.1 kB / 0.7256 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1725, allocations: 8.031 kB / 0.7257 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1725, allocations: 34.75 kB / 0.7257 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1727, allocations: 24.83 kB / 0.7257 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1729, allocations: 201.8 kB / 0.7259 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1729, allocations: 4.375 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.173, allocations: 4.375 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1731, allocations: 62.22 kB / 0.726 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1731, allocations: 3.938 kB / 0.726 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1732, allocations: 8 kB / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1732, allocations: 0 / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1733, allocations: 31.92 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.1738, allocations: 328.7 kB / 0.7263 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.174, allocations: 50.53 kB / 0.7264 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.174, allocations: 21 kB / 0.7264 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.174, allocations: 4 kB / 0.7264 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1741, allocations: 30.56 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.1741, allocations: 0 / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002696/0.1743, allocations: 73.62 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1744, allocations: 55.34 kB / 0.7266 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1745, allocations: 130.8 kB / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1745, allocations: 29.7 kB / 0.7267 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.1746, allocations: 108.1 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1746, allocations: 7.953 kB / 0.7268 GB, free: 188 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1747, allocations: 21.7 kB / 0.7268 GB, free: 160 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1748, allocations: 318.8 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.1749, allocations: 19.92 kB / 0.7272 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.1749, allocations: 15.98 kB / 0.7272 GB, free: 15.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.175, allocations: 28.84 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.175, allocations: 4 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001528/0.1752, allocations: 65.64 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1752, allocations: 4 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1752, allocations: 3.938 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1752, allocations: 3.984 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1753, allocations: 4 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1753, allocations: 0 / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1754, allocations: 11.98 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1754, allocations: 7.938 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.565e-05/0.1755, allocations: 117.8 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1755, allocations: 8.281 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1755, allocations: 12.23 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1755, allocations: 0 / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1755, allocations: 7.984 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1756, allocations: 0 / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1758, allocations: 181.6 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1758, allocations: 0 / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.1758, allocations: 4 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1758, allocations: 4 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1758, allocations: 0 / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1758, allocations: 3.984 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1758, allocations: 0 / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.176, allocations: 163.4 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1761, allocations: 89 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1761, allocations: 0 / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1762, allocations: 19.98 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1763, allocations: 11.92 kB / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1763, allocations: 0 / 0.7279 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.1763, allocations: 104.6 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1763, allocations: 0 / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002351/0.1766, allocations: 8 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000555/0.1771, allocations: 0.7007 MB / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.1773, allocations: 31.98 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1773, allocations: 3.938 kB / 0.7287 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.1774, allocations: 11.98 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1776, allocations: 13.25 kB / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.1792, allocations: 1.378 MB / 0.7301 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1795, allocations: 0.6885 MB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.1796, allocations: 4 kB / 0.7308 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1796, allocations: 27.42 kB / 0.7308 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1796, allocations: 0 / 0.7308 GB, free: 11.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.2052, allocations: 2.017 MB / 0.7328 GB, free: 9.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.31, allocations: 3.75 kB / 0.7328 GB, free: 9.969 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.379741775803268] Failed to read output from testmodel.py, exit status != 0: 8.380711670033634 8.403430385 8.227445309 Calling exit ...