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.001437/0.001437, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001646/0.001646, allocations: 213.4 kB / 23.04 MB, free: 4.883 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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 0.8884/0.8884, allocations: 150 MB / 463.2 MB, free: 10.22 MB / 366.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.00189/0.00189, allocations: 69.91 kB / 0.6413 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 89.18 MB / 0.7284 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001856/0.1578, allocations: 0.7801 MB / 0.7292 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1589, allocations: 0.9054 MB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.1589, allocations: 4 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.159, allocations: 11.81 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.1591, allocations: 11.92 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1592, allocations: 31.92 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1593, allocations: 79.7 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.1594, allocations: 27.97 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1596, allocations: 27.92 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1596, allocations: 31.8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1596, allocations: 7.938 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.35e-05/0.1597, allocations: 11.98 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1597, allocations: 11.98 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1597, allocations: 27.75 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1599, allocations: 87.89 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1599, allocations: 4 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1599, allocations: 0 / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1599, allocations: 0 / 0.7304 GB, free: 14.71 MB / 0.5606 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.0004913/0.1604, allocations: 314 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1604, allocations: 12.03 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1604, allocations: 30.75 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1606, allocations: 24.83 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1608, allocations: 142.4 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1608, allocations: 384 / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1608, allocations: 4.375 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1609, allocations: 66.17 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1609, allocations: 3.938 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.161, allocations: 0 / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.161, allocations: 7.984 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.1611, allocations: 31.97 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.1615, allocations: 295.7 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1617, allocations: 46.55 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1617, allocations: 21.02 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1617, allocations: 3.938 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1617, allocations: 30.56 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1617, allocations: 0 / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.162, allocations: 77.7 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.162, allocations: 55.41 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1621, allocations: 136.5 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1621, allocations: 25.7 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1622, allocations: 100.1 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.1622, allocations: 7.953 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1623, allocations: 13.72 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1624, allocations: 326.8 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.812e-05/0.1624, allocations: 12 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.1625, allocations: 19.92 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.585e-05/0.1626, allocations: 32.78 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1626, allocations: 4 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.1627, allocations: 69.62 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1627, allocations: 4 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1627, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1627, allocations: 4 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.1628, allocations: 0 / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1628, allocations: 0 / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.1629, allocations: 11.98 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1629, allocations: 7.875 kB / 0.7323 GB, free: 12.62 MB / 0.5606 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.069e-05/0.163, allocations: 121.8 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.163, allocations: 7.953 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.163, allocations: 12.34 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.163, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.163, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.163, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1632, allocations: 144.7 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1632, allocations: 4 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.1633, allocations: 7.984 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1633, allocations: 0 / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1633, allocations: 11.94 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1633, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1633, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1634, allocations: 167.7 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.1635, allocations: 11.89 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1635, allocations: 0 / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.1636, allocations: 11.98 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1636, allocations: 7.984 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1636, allocations: 8 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.1637, allocations: 111.1 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1637, allocations: 0 / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002134/0.1639, allocations: 12 kB / 0.7329 GB, free: 11.91 MB / 0.5606 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.0004748/0.1644, allocations: 0.6812 MB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1645, allocations: 39.91 kB / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1645, allocations: 0 / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.1646, allocations: 16 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1648, allocations: 21.5 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.1662, allocations: 1.376 MB / 0.735 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.665e-05/0.1663, allocations: 80.97 kB / 0.735 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.1663, allocations: 8 kB / 0.735 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1664, allocations: 23.42 kB / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1664, allocations: 0 / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.1941, allocations: 2.578 MB / 0.7376 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.32, allocations: 9.906 kB / 0.7376 GB, free: 7.113 MB / 0.5606 GB " [Timeout remaining time 650] (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: 13.737894793972373] Failed to read output from testmodel.py, exit status != 0: 10.424340008059517 10.438803212 10.276104513 Calling exit ...