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.001343/0.001343, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001577/0.001577, allocations: 220.6 kB / 23 MB, free: 4.969 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9742/0.9742, allocations: 149.9 MB / 463 MB, free: 10.37 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.002097/0.002097, allocations: 63.5 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1846, allocations: 89.17 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002009/0.1866, allocations: 0.6037 MB / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1877, allocations: 0.8432 MB / 0.7296 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.1877, allocations: 0 / 0.7296 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.1878, allocations: 3.938 kB / 0.7296 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.1878, allocations: 4 kB / 0.7296 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.188, allocations: 15.92 kB / 0.7296 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.1881, allocations: 31.91 kB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1882, allocations: 4 kB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.1882, allocations: 7.984 kB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.1883, allocations: 15.92 kB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1883, allocations: 4 kB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.1883, allocations: 0 / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.1883, allocations: 8 kB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.1884, allocations: 7.922 kB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.18e-05/0.1884, allocations: 27.95 kB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1884, allocations: 7.938 kB / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1884, allocations: 0 / 0.7297 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1885, allocations: 0 / 0.7297 GB, free: 15.47 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.0004463/0.1889, allocations: 262.6 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1889, allocations: 12.03 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.189, allocations: 30.75 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.947e-05/0.189, allocations: 0.9375 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1891, allocations: 110.5 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1891, allocations: 384 / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1891, allocations: 8.25 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1893, allocations: 62.22 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1893, allocations: 3.938 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1894, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1894, allocations: 4 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1895, allocations: 35.95 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.19, allocations: 208 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1902, allocations: 54.47 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.101e-05/0.1903, allocations: 20.91 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1903, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1903, allocations: 38.55 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1903, allocations: 0 / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000376/0.1907, allocations: 81.64 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1907, allocations: 51.53 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.1908, allocations: 105.8 kB / 0.7307 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.1908, allocations: 29.7 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1909, allocations: 84.12 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1909, allocations: 7.953 kB / 0.7308 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1909, allocations: 13.72 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1911, allocations: 310.8 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.1912, allocations: 23.97 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.042e-05/0.1913, allocations: 11.98 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1914, allocations: 48.88 kB / 0.7312 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1914, allocations: 3.938 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1916, allocations: 65.66 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1916, allocations: 6.188 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1916, allocations: 4 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1917, allocations: 7.875 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.1918, allocations: 12.02 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1918, allocations: 0 / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.1918, allocations: 4 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1918, allocations: 4 kB / 0.7313 GB, free: 13.58 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 0.0001023/0.1919, allocations: 117.8 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.192, allocations: 3.953 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.192, allocations: 7.312 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.192, allocations: 0 / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.192, allocations: 0 / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.192, allocations: 192 / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1921, allocations: 136.7 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1921, allocations: 0 / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.1922, allocations: 15.97 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1922, allocations: 0 / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1922, allocations: 3.938 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1922, allocations: 0 / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1922, allocations: 0 / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1925, allocations: 171.4 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.1925, allocations: 8.031 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1925, allocations: 0 / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.1926, allocations: 11.98 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.1926, allocations: 11.98 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1927, allocations: 0 / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.1927, allocations: 83.28 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000218/0.1929, allocations: 7.938 kB / 0.7319 GB, free: 12.94 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.0007859/0.1937, allocations: 0.7007 MB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1939, allocations: 35.91 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1939, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.194, allocations: 23.97 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1943, allocations: 4 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.1948, allocations: 151.3 kB / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.04e-05/0.1948, allocations: 55.36 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1948, allocations: 7.938 kB / 0.7328 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1949, allocations: 11.42 kB / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1949, allocations: 0 / 0.7329 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.2241, allocations: 1.988 MB / 0.7348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 4.25 kB / 0.7348 GB, free: 10.02 MB / 0.5606 GB " [Timeout remaining time 648] (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.303743622265756] Failed to read output from testmodel.py, exit status != 0: 11.573766140267253 11.596908586 11.404221212 Calling exit ...