Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001578/0.001578, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001758/0.001758, allocations: 163.8 kB / 23.76 MB, free: 4.195 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.428/1.428, allocations: 177.2 MB / 204.1 MB, free: 8.898 MB / 190.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.9422/0.9422, allocations: 113.9 MB / 374.5 MB, free: 12.86 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: translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [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.002091/0.002091, allocations: 68.31 kB / 0.555 GB, free: 2.785 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.174, allocations: 89.15 MB / 0.6421 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002815/0.1768, allocations: 0.5882 MB / 0.6426 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1787, allocations: 0.8552 MB / 0.6435 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.1787, allocations: 0 / 0.6435 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.1788, allocations: 0 / 0.6435 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.1788, allocations: 7.938 kB / 0.6435 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1791, allocations: 19.97 kB / 0.6435 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1792, allocations: 27.92 kB / 0.6435 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1793, allocations: 0 / 0.6435 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.1794, allocations: 11.94 kB / 0.6435 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.1794, allocations: 7.984 kB / 0.6436 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1795, allocations: 4 kB / 0.6436 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.1795, allocations: 4 kB / 0.6436 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.1795, allocations: 7.984 kB / 0.6436 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1795, allocations: 11.92 kB / 0.6436 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1797, allocations: 27.84 kB / 0.6436 GB, free: 8.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1797, allocations: 4 kB / 0.6436 GB, free: 8.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1797, allocations: 0 / 0.6436 GB, free: 8.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1797, allocations: 0 / 0.6436 GB, free: 8.012 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006265/0.1803, allocations: 258.3 kB / 0.6439 GB, free: 7.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1803, allocations: 12.03 kB / 0.6439 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1804, allocations: 4.875 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1806, allocations: 114.5 kB / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1806, allocations: 384 / 0.644 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.1806, allocations: 8.359 kB / 0.644 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1809, allocations: 54.23 kB / 0.644 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1809, allocations: 192 / 0.644 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1809, allocations: 7.938 kB / 0.644 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1809, allocations: 0 / 0.644 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1812, allocations: 35.95 kB / 0.6441 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1817, allocations: 200.5 kB / 0.6443 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1819, allocations: 34.56 kB / 0.6443 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1821, allocations: 32.89 kB / 0.6443 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1821, allocations: 3.938 kB / 0.6443 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.1822, allocations: 30.56 kB / 0.6444 GB, free: 7.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.1822, allocations: 0 / 0.6444 GB, free: 7.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006747/0.1829, allocations: 89.58 kB / 0.6445 GB, free: 7.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.1829, allocations: 51.41 kB / 0.6445 GB, free: 6.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1831, allocations: 101.8 kB / 0.6446 GB, free: 6.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1831, allocations: 33.77 kB / 0.6446 GB, free: 6.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1832, allocations: 84.14 kB / 0.6447 GB, free: 6.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1832, allocations: 3.953 kB / 0.6447 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.1833, allocations: 17.72 kB / 0.6447 GB, free: 6.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1835, allocations: 318.8 kB / 0.645 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1836, allocations: 15.98 kB / 0.6451 GB, free: 6.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1838, allocations: 19.98 kB / 0.6451 GB, free: 6.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1841, allocations: 48.88 kB / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1841, allocations: 0 / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000404/0.1845, allocations: 73.53 kB / 0.6452 GB, free: 6.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1845, allocations: 4 kB / 0.6452 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1845, allocations: 0 / 0.6452 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1845, allocations: 0 / 0.6452 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1847, allocations: 11.98 kB / 0.6452 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1847, allocations: 4.031 kB / 0.6452 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1848, allocations: 4 kB / 0.6452 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1848, allocations: 3.984 kB / 0.6452 GB, free: 6.188 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000126/0.1849, allocations: 113.8 kB / 0.6453 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.185, allocations: 7.891 kB / 0.6453 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.185, allocations: 3.312 kB / 0.6453 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.185, allocations: 4 kB / 0.6453 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.185, allocations: 0 / 0.6453 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.185, allocations: 0 / 0.6453 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1853, allocations: 109.2 kB / 0.6454 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1853, allocations: 4 kB / 0.6454 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1854, allocations: 11.98 kB / 0.6455 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1854, allocations: 3.938 kB / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1854, allocations: 0 / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1854, allocations: 0 / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1854, allocations: 0 / 0.6455 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.1859, allocations: 167.5 kB / 0.6456 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.1859, allocations: 3.938 kB / 0.6456 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1859, allocations: 4.031 kB / 0.6456 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.186, allocations: 7.984 kB / 0.6456 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1861, allocations: 12.17 kB / 0.6457 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1861, allocations: 0 / 0.6457 GB, free: 5.688 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.1862, allocations: 83.27 kB / 0.6457 GB, free: 5.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1862, allocations: 0 / 0.6457 GB, free: 5.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004268/0.1866, allocations: 8 kB / 0.6457 GB, free: 5.598 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001386/0.1868, allocations: 95.23 kB / 0.6458 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.1872, allocations: 47.84 kB / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1872, allocations: 0 / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1873, allocations: 27.91 kB / 0.6459 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1879, allocations: 6.578 kB / 0.6459 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1883, allocations: 109.4 kB / 0.646 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.957e-05/0.1884, allocations: 63.34 kB / 0.6461 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.914e-05/0.1884, allocations: 4.125 kB / 0.6461 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1885, allocations: 16.5 kB / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.1885, allocations: 0 / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of Templates: time 0.004709/0.1932, allocations: 0.6309 MB / 0.6467 GB, free: 4.555 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.354639388970099] Failed to read output from testmodel.py, exit status != 0: 0.20363013294991106 0.233105569 0.047777344000000006 Calling exit ...