Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0015/0.0015, allocations: 106.4 kB / 17.07 MB, free: 6 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.001388/0.001388, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.559/1.559, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.118/1.118, allocations: 147.6 MB / 445.6 MB, free: 8.379 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.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 65.98 kB / 0.611 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1604, allocations: 83.15 MB / 0.6922 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002014/0.1625, allocations: 0.8042 MB / 0.6929 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1636, allocations: 0.8755 MB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.1637, allocations: 2.688 kB / 0.6938 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1639, allocations: 16.66 kB / 0.6938 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.459e-05/0.1639, allocations: 5.656 kB / 0.6938 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.1641, allocations: 31.75 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1642, allocations: 75.36 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1644, allocations: 28.98 kB / 0.6939 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1645, allocations: 29.55 kB / 0.694 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.1646, allocations: 39.16 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1646, allocations: 5.781 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1646, allocations: 5.188 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.1646, allocations: 14.34 kB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1647, allocations: 29.56 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1648, allocations: 80.3 kB / 0.6941 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1648, allocations: 0 / 0.6941 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1648, allocations: 1.094 kB / 0.6941 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1648, allocations: 0 / 0.6941 GB, free: 11.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005941/0.1654, allocations: 396.9 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1655, allocations: 9.562 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.1655, allocations: 32.03 kB / 0.6946 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1656, allocations: 12.8 kB / 0.6946 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1659, allocations: 205.1 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1659, allocations: 1.438 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1659, allocations: 3.562 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1661, allocations: 70.7 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1661, allocations: 3.938 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1661, allocations: 1.125 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1661, allocations: 1.219 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1663, allocations: 29.27 kB / 0.6949 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.1668, allocations: 326.4 kB / 0.6952 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1669, allocations: 53.86 kB / 0.6952 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.167, allocations: 16.16 kB / 0.6953 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.167, allocations: 5.547 kB / 0.6953 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1671, allocations: 34.56 kB / 0.6953 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1671, allocations: 0 / 0.6953 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002517/0.1673, allocations: 79.09 kB / 0.6954 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1674, allocations: 56.86 kB / 0.6954 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1675, allocations: 132.7 kB / 0.6955 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1675, allocations: 27.36 kB / 0.6956 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1676, allocations: 96.31 kB / 0.6957 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1676, allocations: 17.34 kB / 0.6957 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1677, allocations: 13.62 kB / 0.6957 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1678, allocations: 323.8 kB / 0.696 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.1679, allocations: 21.5 kB / 0.696 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.1679, allocations: 15.64 kB / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.168, allocations: 29.84 kB / 0.6961 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.168, allocations: 0 / 0.6961 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/0.1682, allocations: 68.33 kB / 0.6961 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1682, allocations: 5.938 kB / 0.6961 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1682, allocations: 0 / 0.6961 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1682, allocations: 0 / 0.6961 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.1683, allocations: 7 kB / 0.6961 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1683, allocations: 1.781 kB / 0.6961 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.1684, allocations: 13.44 kB / 0.6962 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1684, allocations: 5.781 kB / 0.6962 GB, free: 9.746 MB / 0.5137 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.939e-05/0.1685, allocations: 114.4 kB / 0.6963 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1685, allocations: 14.84 kB / 0.6963 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1686, allocations: 10.06 kB / 0.6963 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1686, allocations: 5.25 kB / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1686, allocations: 0 / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1686, allocations: 1.375 kB / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1688, allocations: 182.4 kB / 0.6965 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1688, allocations: 0 / 0.6965 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.1689, allocations: 10.73 kB / 0.6965 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1689, allocations: 1.625 kB / 0.6965 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1689, allocations: 0 / 0.6965 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1689, allocations: 0 / 0.6965 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1689, allocations: 1.312 kB / 0.6965 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.1691, allocations: 163.7 kB / 0.6966 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1691, allocations: 78.55 kB / 0.6967 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1692, allocations: 1.25 kB / 0.6967 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1693, allocations: 13.48 kB / 0.6967 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1693, allocations: 16.05 kB / 0.6968 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1693, allocations: 1.375 kB / 0.6968 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.863e-05/0.1694, allocations: 106.4 kB / 0.6969 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1694, allocations: 4 kB / 0.6969 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000222/0.1696, allocations: 12.2 kB / 0.6969 GB, free: 9.012 MB / 0.5137 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.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.0005044/0.1702, allocations: 0.6927 MB / 0.6975 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1703, allocations: 39.23 kB / 0.6976 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1703, allocations: 5.312 kB / 0.6976 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.1704, allocations: 17.55 kB / 0.6976 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1707, allocations: 11.39 kB / 0.6976 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1722, allocations: 1.383 MB / 0.699 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1725, allocations: 0.6941 MB / 0.6996 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.1726, allocations: 6.734 kB / 0.6997 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1726, allocations: 22.19 kB / 0.6997 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1726, allocations: 1.375 kB / 0.6997 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1951, allocations: 1.984 MB / 0.7016 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.148, allocations: 8.969 kB / 0.7016 GB, free: 4.863 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold_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_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.295700646936893] Failed to read output from testmodel.py, exit status != 0: 8.547125436132774 8.228117788 8.060570938 Calling exit ...