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.001882/0.001882, allocations: 105 kB / 20.48 MB, free: 1.488 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.002099/0.002099, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.49/1.49, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.9741/0.9741, allocations: 150 MB / 464 MB, free: 10.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",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.001999/0.001999, allocations: 60.16 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1837, allocations: 89.17 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001754/0.1854, allocations: 0.6115 MB / 0.7297 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1865, allocations: 0.8587 MB / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.1865, allocations: 0 / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.1865, allocations: 0 / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.1866, allocations: 7.938 kB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.1867, allocations: 15.97 kB / 0.7306 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.1868, allocations: 27.92 kB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.1869, allocations: 4 kB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.1869, allocations: 15.92 kB / 0.7306 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.187, allocations: 11.98 kB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.187, allocations: 0 / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-06/0.187, allocations: 4 kB / 0.7306 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.187, allocations: 11.92 kB / 0.7306 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1871, allocations: 8 kB / 0.7306 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.206e-05/0.1872, allocations: 24.17 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1872, allocations: 0 / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1872, allocations: 4 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1872, allocations: 3.938 kB / 0.7307 GB, free: 15.67 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.0004493/0.1876, allocations: 266.3 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1877, allocations: 8.031 kB / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/0.1877, allocations: 192 / 0.7309 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1877, allocations: 34.75 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1877, allocations: 0.9375 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1879, allocations: 110.5 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1879, allocations: 8.375 kB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1879, allocations: 384 / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1881, allocations: 57.97 kB / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1881, allocations: 0 / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1881, allocations: 0 / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1881, allocations: 0 / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1883, allocations: 39.89 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.1887, allocations: 235.9 kB / 0.7314 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1888, allocations: 42.53 kB / 0.7314 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.1889, allocations: 16.91 kB / 0.7314 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1889, allocations: 4 kB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.189, allocations: 38.56 kB / 0.7315 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.189, allocations: 0 / 0.7315 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003826/0.1893, allocations: 89.56 kB / 0.7316 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1894, allocations: 51.41 kB / 0.7316 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.1895, allocations: 97.86 kB / 0.7317 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1895, allocations: 29.7 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.1895, allocations: 88.25 kB / 0.7318 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.1895, allocations: 3.953 kB / 0.7318 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1896, allocations: 13.72 kB / 0.7318 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1897, allocations: 314.8 kB / 0.7321 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1898, allocations: 15.97 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.1899, allocations: 19.98 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.1901, allocations: 48.77 kB / 0.7322 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1901, allocations: 0 / 0.7322 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002208/0.1903, allocations: 69.66 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1903, allocations: 7.984 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1903, allocations: 0 / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1903, allocations: 4 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1904, allocations: 8 kB / 0.7323 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.1905, allocations: 8.016 kB / 0.7323 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1905, allocations: 4 kB / 0.7323 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1905, allocations: 0 / 0.7323 GB, free: 13.77 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.691e-05/0.1906, allocations: 113.8 kB / 0.7324 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1906, allocations: 3.953 kB / 0.7324 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.1907, allocations: 11.3 kB / 0.7324 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1907, allocations: 4 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1907, allocations: 0 / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1907, allocations: 4 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1908, allocations: 128.7 kB / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1908, allocations: 192 / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.1909, allocations: 15.92 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1909, allocations: 0 / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1909, allocations: 7.922 kB / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1909, allocations: 0 / 0.7326 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1909, allocations: 3.984 kB / 0.7326 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1912, allocations: 171.5 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.1912, allocations: 7.938 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1912, allocations: 0 / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.1913, allocations: 7.984 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1913, allocations: 7.938 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1913, allocations: 4 kB / 0.7328 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.1914, allocations: 83.27 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 4.031 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002224/0.1916, allocations: 8 kB / 0.7329 GB, free: 13.13 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.0005922/0.1922, allocations: 0.6967 MB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1924, allocations: 39.98 kB / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1924, allocations: 0 / 0.7336 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1925, allocations: 31.91 kB / 0.7336 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1928, allocations: 2.578 kB / 0.7336 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.1934, allocations: 143.2 kB / 0.7338 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1937, allocations: 0.6807 MB / 0.7344 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.1938, allocations: 4 kB / 0.7344 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.1938, allocations: 7.438 kB / 0.7344 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1938, allocations: 0 / 0.7344 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.2151, allocations: 1.579 MB / 0.736 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.43, allocations: 15.31 kB / 0.736 GB, free: 10.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.23421414103359] Failed to read output from testmodel.py, exit status != 0: 11.593531059043016 11.619877122 11.427792767 Calling exit ...