Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001806/0.001806, allocations: 102.6 kB / 17.07 MB, free: 5.945 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.002051/0.002051, allocations: 197.1 kB / 20.03 MB, free: 3.012 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.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.088/1.088, allocations: 147.6 MB / 445.6 MB, free: 8.293 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.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 65.55 kB / 0.611 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1662, allocations: 83.16 MB / 0.6922 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002349/0.1686, allocations: 1.052 MB / 0.6932 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.17, allocations: 0.9874 MB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1701, allocations: 3.969 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1703, allocations: 19.73 kB / 0.6942 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.1704, allocations: 31.7 kB / 0.6942 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1706, allocations: 72.78 kB / 0.6943 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1708, allocations: 172.7 kB / 0.6944 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.171, allocations: 83.03 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1712, allocations: 67.14 kB / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1713, allocations: 83.92 kB / 0.6947 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.1713, allocations: 16.88 kB / 0.6947 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.833e-05/0.1714, allocations: 15.03 kB / 0.6947 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.1714, allocations: 45.48 kB / 0.6947 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.1715, allocations: 71.81 kB / 0.6948 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1718, allocations: 189.6 kB / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1718, allocations: 0 / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1718, allocations: 0 / 0.695 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1718, allocations: 1.156 kB / 0.695 GB, free: 11.15 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00089/0.1727, allocations: 482.3 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1728, allocations: 9.875 kB / 0.6955 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.1728, allocations: 52.11 kB / 0.6955 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1729, allocations: 17.84 kB / 0.6955 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1732, allocations: 221.3 kB / 0.6957 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1733, allocations: 15.47 kB / 0.6958 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1733, allocations: 19.16 kB / 0.6958 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1736, allocations: 154.4 kB / 0.6959 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1737, allocations: 0 / 0.6959 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1737, allocations: 5.875 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1737, allocations: 3.938 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.174, allocations: 109.9 kB / 0.696 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1751, allocations: 0.542 MB / 0.6966 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.1755, allocations: 145.8 kB / 0.6967 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1757, allocations: 78.08 kB / 0.6968 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1758, allocations: 2.75 kB / 0.6968 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.176, allocations: 118 kB / 0.6969 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 3.466e-06/0.1761, allocations: 1.375 kB / 0.6969 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0005788/0.1766, allocations: 234.1 kB / 0.6971 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1767, allocations: 58.16 kB / 0.6972 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1769, allocations: 162.8 kB / 0.6973 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1769, allocations: 32.45 kB / 0.6974 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.177, allocations: 111.5 kB / 0.6975 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.1771, allocations: 70.28 kB / 0.6975 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.1772, allocations: 39.45 kB / 0.6976 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.1774, allocations: 331 kB / 0.6979 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1776, allocations: 70.27 kB / 0.6979 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.1778, allocations: 88.2 kB / 0.698 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.1782, allocations: 146.8 kB / 0.6982 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1782, allocations: 0 / 0.6982 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005098/0.1787, allocations: 220.8 kB / 0.6984 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1787, allocations: 4 kB / 0.6984 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1788, allocations: 0 / 0.6984 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1788, allocations: 4 kB / 0.6984 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.179, allocations: 47.94 kB / 0.6984 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.179, allocations: 7.984 kB / 0.6984 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1792, allocations: 19.88 kB / 0.6985 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1792, allocations: 8 kB / 0.6985 GB, free: 8.242 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001925/0.1794, allocations: 129.7 kB / 0.6986 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1794, allocations: 15.91 kB / 0.6986 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.1799, allocations: 199.9 kB / 0.6988 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1799, allocations: 4 kB / 0.6988 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1799, allocations: 0 / 0.6988 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1799, allocations: 0 / 0.6988 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.1809, allocations: 0.5773 MB / 0.6994 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1809, allocations: 8 kB / 0.6994 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1811, allocations: 35.92 kB / 0.6994 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.1811, allocations: 11.92 kB / 0.6994 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.1811, allocations: 4 kB / 0.6994 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1811, allocations: 0 / 0.6994 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.1811, allocations: 4.188 kB / 0.6994 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.1818, allocations: 397.8 kB / 0.6998 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.1819, allocations: 100.9 kB / 0.6999 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1819, allocations: 11.94 kB / 0.6999 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1821, allocations: 11.98 kB / 0.6999 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1821, allocations: 27.91 kB / 0.7 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1822, allocations: 8 kB / 0.7 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.159e-05/0.1823, allocations: 126.5 kB / 0.7001 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1823, allocations: 0 / 0.7001 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002704/0.1825, allocations: 28 kB / 0.7001 GB, free: 6.426 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001146/0.1837, allocations: 0.9164 MB / 0.701 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.1842, allocations: 169.9 kB / 0.7012 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1842, allocations: 0 / 0.7012 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1844, allocations: 81.27 kB / 0.7012 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1848, allocations: 37.2 kB / 0.7013 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.188, allocations: 2.128 MB / 0.7034 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1884, allocations: 0.7283 MB / 0.7041 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1885, allocations: 17.42 kB / 0.7041 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1886, allocations: 51.42 kB / 0.7041 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1886, allocations: 0 / 0.7041 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.2161, allocations: 3.601 MB / 0.7076 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.353, allocations: 9.312 kB / 0.7077 GB, free: 14.59 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.299470766913146] Failed to read output from testmodel.py, exit status != 0: 8.700049367034808 8.447783003 8.272103121 Calling exit ...