Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001743/0.001743, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002145/0.002145, allocations: 66.22 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3566, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002045/0.3586, allocations: 0.6095 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3598, allocations: 0.8394 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.3599, allocations: 0 / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.3599, allocations: 3.938 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.36, allocations: 11.94 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.3601, allocations: 15.98 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.3602, allocations: 27.86 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3603, allocations: 8 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.3604, allocations: 11.97 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.3604, allocations: 11.94 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3605, allocations: 4 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.3605, allocations: 0 / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3605, allocations: 7.984 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.3605, allocations: 7.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.3606, allocations: 31.47 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3606, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3606, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3606, allocations: 4 kB / 1.284 GB, free: 10.92 MB / 0.9825 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.0005034/0.3611, allocations: 264 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3612, allocations: 8.031 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.3612, allocations: 34.75 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.3613, allocations: 0.9375 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3614, allocations: 110.5 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3614, allocations: 4.312 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3614, allocations: 4.375 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3616, allocations: 54.23 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3617, allocations: 11.86 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3617, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3617, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.3619, allocations: 31.97 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.3622, allocations: 220 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3624, allocations: 50.42 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3625, allocations: 24.91 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3625, allocations: 0 / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3626, allocations: 30.56 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3626, allocations: 0 / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.363, allocations: 93.56 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.363, allocations: 55.53 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.3631, allocations: 97.86 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3631, allocations: 25.7 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3632, allocations: 84.14 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3632, allocations: 7.938 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3632, allocations: 13.72 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3634, allocations: 314.8 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.3635, allocations: 15.98 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.3635, allocations: 19.97 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3637, allocations: 44.89 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3637, allocations: 3.938 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000217/0.3639, allocations: 69.59 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3639, allocations: 4 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.364, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.364, allocations: 3.984 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.3641, allocations: 12.03 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3641, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.3641, allocations: 7.984 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3641, allocations: 0 / 1.286 GB, free: 9.035 MB / 0.9825 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 9.118e-05/0.3642, allocations: 117.8 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3642, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.3643, allocations: 7.297 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3643, allocations: 3.938 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3643, allocations: 4 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3643, allocations: 4 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3644, allocations: 128.7 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3644, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.3645, allocations: 8 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3645, allocations: 4.172 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3645, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3645, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3645, allocations: 3.938 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.3648, allocations: 183.3 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.3648, allocations: 3.938 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3648, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.3649, allocations: 11.98 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.365, allocations: 8 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.365, allocations: 3.984 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.365, allocations: 79.28 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.365, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002268/0.3652, allocations: 8 kB / 1.286 GB, free: 8.402 MB / 0.9825 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.0006145/0.3659, allocations: 0.7046 MB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.3661, allocations: 31.97 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3661, allocations: 0 / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3662, allocations: 27.97 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3665, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.367, allocations: 139.4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.3671, allocations: 59.34 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.3671, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.3672, allocations: 15.36 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3672, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3961, allocations: 1.997 MB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 9.984 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! Error: Could not read variable reaToInt.y in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.55106347007677]