Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001033/0.001033, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001258/0.001258, allocations: 173.6 kB / 23.24 MB, free: 1.32 MB / 18.57 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 0.9302/0.9302, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.883/1.883, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.535e-05, allocations: 6.219 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001403/0.001418, allocations: 0.6195 MB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.00535, allocations: 0.8393 MB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.005386, allocations: 0 / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.005411, allocations: 0 / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.005469, allocations: 7.875 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.005614, allocations: 19.91 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.00568, allocations: 27.92 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.005765, allocations: 0 / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.005838, allocations: 19.98 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.00588, allocations: 7.984 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005896, allocations: 4 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.005904, allocations: 4 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.005922, allocations: 11.92 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.005942, allocations: 8 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.006018, allocations: 23.89 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006021, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006021, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.006025, allocations: 0 / 1.002 GB, free: 11.95 MB / 0.9636 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.0003492/0.006374, allocations: 262.3 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.006413, allocations: 9.344 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.006446, allocations: 38.75 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.006467, allocations: 4.938 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.522e-05/0.006542, allocations: 105.7 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.006563, allocations: 8.359 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.00657, allocations: 384 / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.006699, allocations: 50.23 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.006706, allocations: 4.125 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.006714, allocations: 384 / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.006719, allocations: 8.062 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.006834, allocations: 43.89 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.00713, allocations: 224 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.007231, allocations: 38.56 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.00729, allocations: 24.89 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.007301, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.007322, allocations: 38.5 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.007323, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002626/0.007586, allocations: 89.58 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.007614, allocations: 55.41 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.01069, allocations: 97.84 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01071, allocations: 25.7 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.01074, allocations: 84.14 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.01076, allocations: 7.953 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.01078, allocations: 9.719 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.01087, allocations: 323 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.01092, allocations: 15.98 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.01097, allocations: 20.81 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.01108, allocations: 44.75 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01108, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/0.01122, allocations: 77.66 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.01123, allocations: 4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01124, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01125, allocations: 192 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.01132, allocations: 11.98 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01133, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.01136, allocations: 4 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.01137, allocations: 3.984 kB / 1.004 GB, free: 10.05 MB / 0.9636 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 5.688e-05/0.01142, allocations: 109.8 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.01144, allocations: 11.95 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/0.01146, allocations: 7.312 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01146, allocations: 0 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01147, allocations: 0 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01147, allocations: 0 / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.01159, allocations: 140.7 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.01159, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.01163, allocations: 11.92 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01163, allocations: 7.938 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01164, allocations: 0 / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01164, allocations: 0 / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01164, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.0118, allocations: 159.5 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.01181, allocations: 15.88 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.01182, allocations: 3.984 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/0.01187, allocations: 4 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01192, allocations: 3.984 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.01192, allocations: 4 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.01195, allocations: 83.28 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01195, allocations: 4.031 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002129/0.01216, allocations: 4 kB / 1.004 GB, free: 9.414 MB / 0.9636 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.000348/0.01251, allocations: 0.6967 MB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01266, allocations: 39.95 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01266, allocations: 4.094 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.01272, allocations: 23.92 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01297, allocations: 10.33 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.01334, allocations: 141.7 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.01338, allocations: 59.36 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.0134, allocations: 3.984 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.01344, allocations: 16.56 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.01344, allocations: 0 / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/0.08902, allocations: 2.121 MB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.129, allocations: 7.312 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.777431273832917]