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.001749/0.001749, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002004/0.002004, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9327/0.9327, allocations: 150 MB / 463.2 MB, free: 10.55 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.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.001969/0.001969, allocations: 64.52 kB / 0.6413 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1717, allocations: 89.17 MB / 0.7283 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001715/0.1734, allocations: 0.6089 MB / 0.7289 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1744, allocations: 0.8588 MB / 0.7298 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.1744, allocations: 0 / 0.7298 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.1744, allocations: 3.938 kB / 0.7298 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.1745, allocations: 0 / 0.7298 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.1746, allocations: 19.91 kB / 0.7298 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.1747, allocations: 23.98 kB / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.1748, allocations: 0 / 0.7298 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.1748, allocations: 19.86 kB / 0.7298 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.1749, allocations: 8 kB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1749, allocations: 4 kB / 0.7298 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.1749, allocations: 8 kB / 0.7299 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1749, allocations: 15.91 kB / 0.7299 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.175, allocations: 4 kB / 0.7299 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.298e-05/0.175, allocations: 24.19 kB / 0.7299 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1751, allocations: 0 / 0.7299 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1751, allocations: 0 / 0.7299 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1751, allocations: 0 / 0.7299 GB, free: 15.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004356/0.1755, allocations: 262.3 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1755, allocations: 16.02 kB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.1756, allocations: 34.75 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.1756, allocations: 0.9375 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1757, allocations: 114.5 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1757, allocations: 384 / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1757, allocations: 4.312 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1759, allocations: 54.17 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1759, allocations: 3.938 kB / 0.7304 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1759, allocations: 4 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1759, allocations: 0 / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1761, allocations: 43.95 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1765, allocations: 220 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1766, allocations: 46.42 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.1767, allocations: 24.84 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1767, allocations: 7.984 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1767, allocations: 34.56 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1767, allocations: 0 / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.1771, allocations: 81.64 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1771, allocations: 55.41 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.1772, allocations: 106 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1772, allocations: 25.7 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.1773, allocations: 84.14 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1773, allocations: 3.953 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.1773, allocations: 17.7 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1774, allocations: 314.8 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.1775, allocations: 19.92 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.1776, allocations: 23.97 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1778, allocations: 36.83 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1778, allocations: 3.938 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/0.178, allocations: 69.66 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.178, allocations: 8 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.178, allocations: 4.094 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.178, allocations: 0 / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.1781, allocations: 7.984 kB / 0.7316 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1781, allocations: 4 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.1782, allocations: 11.92 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1782, allocations: 0 / 0.7316 GB, free: 13.86 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: 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 8.655e-05/0.1783, allocations: 109.8 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1783, allocations: 7.953 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.1783, allocations: 11.31 kB / 0.7317 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1783, allocations: 0 / 0.7317 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1783, allocations: 0 / 0.7317 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1783, allocations: 0 / 0.7317 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1785, allocations: 132.7 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1785, allocations: 4 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.1785, allocations: 7.984 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1785, allocations: 0 / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1785, allocations: 3.938 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1785, allocations: 3.938 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1785, allocations: 4 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1788, allocations: 167.5 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.1788, allocations: 7.938 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1788, allocations: 7.922 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.1789, allocations: 4 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.179, allocations: 12.02 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.179, allocations: 8 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.179, allocations: 79.28 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.179, allocations: 0 / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002161/0.1792, allocations: 4 kB / 0.7321 GB, free: 13.23 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: 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.0005604/0.1798, allocations: 0.7046 MB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.18, allocations: 43.89 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.18, allocations: 0 / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.1801, allocations: 19.98 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1804, allocations: 8.156 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.1809, allocations: 139.1 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1811, allocations: 0.6729 MB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.1812, allocations: 7.984 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1812, allocations: 11.44 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.1812, allocations: 0 / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.2088, allocations: 1.553 MB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.39, allocations: 12.06 kB / 0.7352 GB, free: 10.11 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger_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_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.23161154400077] Failed to read output from testmodel.py, exit status != 0: 11.498809155000345 11.515636462 11.337340114 Calling exit ...