Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.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.001216/0.001216, 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.001358/0.001358, allocations: 211.1 kB / 23.04 MB, free: 4.887 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.773 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 0.9059/0.9059, 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.Atan2,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Atan2",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.001975/0.001975, allocations: 66.48 kB / 0.6413 GB, free: 9.805 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1582, allocations: 89.17 MB / 0.7284 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001908/0.1601, allocations: 0.6809 MB / 0.7291 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1612, allocations: 0.8666 MB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1613, allocations: 0 / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.1613, allocations: 7.875 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.1614, allocations: 15.88 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1615, allocations: 15.98 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.1616, allocations: 43.84 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.1617, allocations: 11.98 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.1618, allocations: 19.92 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.1618, allocations: 15.92 kB / 0.73 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1618, allocations: 4 kB / 0.73 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.1619, allocations: 8 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.1619, allocations: 11.98 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1619, allocations: 11.94 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1621, allocations: 60 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1621, allocations: 0 / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1621, allocations: 0 / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1621, allocations: 0 / 0.7301 GB, free: 14.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005044/0.1626, allocations: 290.2 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1626, allocations: 12.03 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.352e-05/0.1627, allocations: 30.75 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.1627, allocations: 4.938 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1628, allocations: 118.4 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1629, allocations: 8.312 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1629, allocations: 384 / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1631, allocations: 74.22 kB / 0.7306 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1631, allocations: 3.938 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.1631, allocations: 0 / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1631, allocations: 0 / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.1634, allocations: 71.91 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.1637, allocations: 236 kB / 0.7309 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1639, allocations: 50.48 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1641, allocations: 40.91 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1641, allocations: 0 / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1641, allocations: 34.56 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1641, allocations: 0 / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005284/0.1647, allocations: 133.5 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1647, allocations: 59.39 kB / 0.7312 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.1648, allocations: 101.9 kB / 0.7313 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1648, allocations: 25.7 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1649, allocations: 92.12 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1649, allocations: 11.89 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1649, allocations: 17.72 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1651, allocations: 322.8 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1652, allocations: 31.97 kB / 0.7318 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1653, allocations: 31.95 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.1656, allocations: 72.73 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1656, allocations: 0 / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/0.1659, allocations: 105.5 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1659, allocations: 6.031 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1659, allocations: 0 / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.166, allocations: 0 / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1661, allocations: 19.98 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1661, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.1662, allocations: 15.98 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1662, allocations: 0 / 0.7321 GB, free: 12.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.837e-05/0.1663, allocations: 113.8 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.1663, allocations: 7.938 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.1666, allocations: 113.5 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1666, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1667, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.1667, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1668, allocations: 140.7 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1668, allocations: 0 / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.1669, allocations: 15.98 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1669, allocations: 3.938 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1669, allocations: 0 / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1669, allocations: 3.984 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1669, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.1673, allocations: 195.8 kB / 0.7326 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.1673, allocations: 7.953 kB / 0.7326 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1673, allocations: 8 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1674, allocations: 7.984 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1675, allocations: 7.984 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1675, allocations: 3.938 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.1675, allocations: 95.27 kB / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002104/0.1677, allocations: 4 kB / 0.7328 GB, free: 11.95 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: 0 () * Number of discrete states: 0 () * 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.000679/0.1684, allocations: 0.7202 MB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1687, allocations: 79.8 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1687, allocations: 0 / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1689, allocations: 31.97 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1692, allocations: 11.98 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.1696, allocations: 163.7 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.856e-05/0.1697, allocations: 71.33 kB / 0.7338 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.1697, allocations: 4 kB / 0.7338 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.1697, allocations: 11.44 kB / 0.7338 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1697, allocations: 0 / 0.7338 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.1967, allocations: 2.18 MB / 0.736 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.29, allocations: 17.92 kB / 0.736 GB, free: 8.73 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2_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_Atan2.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.743831131141633] Failed to read output from testmodel.py, exit status != 0: 10.386731727048755 10.400739313 10.23584152 Calling exit ...