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.001358/0.001358, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.001513/0.001513, allocations: 217.5 kB / 22.25 MB, free: 5.168 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.992 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.836/2.836, allocations: 476.8 MB / 0.7707 GB, free: 4.238 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.002068/0.002068, allocations: 64.88 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001863/0.3133, allocations: 0.631 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3144, allocations: 0.8511 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.3144, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.3144, allocations: 7.922 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.3145, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.3146, allocations: 19.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.593e-05/0.3147, allocations: 27.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.3148, allocations: 11.98 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.3149, allocations: 7.938 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.3149, allocations: 19.92 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3149, allocations: 3.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.3149, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.315, allocations: 7.984 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.315, allocations: 11.94 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.026e-05/0.3151, allocations: 23.47 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3151, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3151, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3151, allocations: 0 / 1.285 GB, free: 10.11 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.0004677/0.3155, allocations: 268.2 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3156, allocations: 8.031 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.3156, allocations: 30.75 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.3157, allocations: 12.92 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3158, allocations: 106.5 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3158, allocations: 384 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3158, allocations: 4.375 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.316, allocations: 54.17 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.316, allocations: 3.938 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.316, allocations: 4 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.316, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3162, allocations: 35.95 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3165, allocations: 228 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3167, allocations: 46.44 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.3168, allocations: 24.91 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3168, allocations: 3.984 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3168, allocations: 30.56 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3168, allocations: 4 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.3172, allocations: 81.73 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3173, allocations: 55.44 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.3173, allocations: 101.8 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3174, allocations: 25.7 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3174, allocations: 84.14 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3174, allocations: 3.953 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.3175, allocations: 17.66 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3176, allocations: 314.8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.3177, allocations: 23.97 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.3178, allocations: 15.98 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3179, allocations: 40.81 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3179, allocations: 3.938 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.3182, allocations: 73.72 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3182, allocations: 4 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3182, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3182, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3183, allocations: 19.86 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3183, allocations: 3.938 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.3184, allocations: 7.938 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3184, allocations: 0 / 1.287 GB, free: 8.211 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 0.0001005/0.3185, allocations: 121.8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3185, allocations: 0 / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.3185, allocations: 7.312 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3185, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3185, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3185, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3187, allocations: 140.6 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3187, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.3188, allocations: 8 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3188, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3188, allocations: 7.984 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3188, allocations: 0 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3188, allocations: 192 / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3191, allocations: 167.4 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.3191, allocations: 3.984 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3191, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.3192, allocations: 12.02 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3192, allocations: 4 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3192, allocations: 3.984 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.3193, allocations: 79.28 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3193, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002241/0.3195, allocations: 8 kB / 1.287 GB, free: 7.586 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.0005495/0.32, allocations: 0.6968 MB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.3203, allocations: 39.89 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3203, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3204, allocations: 32.06 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3207, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3212, allocations: 131.3 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3215, allocations: 0.6768 MB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.3215, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3215, allocations: 11.44 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3215, allocations: 4.062 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3491, allocations: 1.564 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.21, allocations: 4.75 kB / 1.29 GB, free: 4.469 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.127954467001473]