Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008451/0.0008451, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008213/0.0008213, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.8837/0.8837, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.085e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001242/0.001263, allocations: 0.6156 MB / 1 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007575/0.002021, allocations: 0.8353 MB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.002053, allocations: 4 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.002079, allocations: 0 / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.002138, allocations: 7.938 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.002284, allocations: 11.98 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.002351, allocations: 23.92 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.00244, allocations: 4 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.002506, allocations: 19.97 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.00255, allocations: 15.92 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.002572, allocations: 7.938 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.002581, allocations: 4 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.002597, allocations: 7.938 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.002616, allocations: 3.984 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.002694, allocations: 27.95 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.002697, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.413e-06/0.002698, allocations: 0 / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.002702, allocations: 0 / 1.001 GB, free: 11.94 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.0003432/0.003045, allocations: 266.3 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.003089, allocations: 12.75 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.003129, allocations: 34.73 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.951e-05/0.003148, allocations: 0.9375 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.00323, allocations: 113.7 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.003249, allocations: 384 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.003259, allocations: 4.359 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.003391, allocations: 54.23 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003397, allocations: 192 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003405, allocations: 384 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.003411, allocations: 8.125 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.003506, allocations: 39.89 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.003788, allocations: 216 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.003878, allocations: 42.55 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.003926, allocations: 20.91 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.003938, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.003957, allocations: 38.5 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003958, allocations: 4 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002251/0.004183, allocations: 85.58 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004213, allocations: 55.39 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.004271, allocations: 97.86 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.004281, allocations: 29.7 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.004312, allocations: 80.14 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.004329, allocations: 7.953 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.004357, allocations: 21.83 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.00443, allocations: 310.8 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.00448, allocations: 19.98 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.004519, allocations: 19.97 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.489e-05/0.004604, allocations: 44.77 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004606, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.004717, allocations: 73.66 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.004731, allocations: 8 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004736, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.004748, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.004821, allocations: 7.984 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.004826, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.004851, allocations: 7.984 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.004858, allocations: 8 kB / 1.003 GB, free: 10.04 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.361e-05/0.004912, allocations: 109.9 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.004925, allocations: 3.938 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.004944, allocations: 11.25 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004946, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.004951, allocations: 3.984 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004953, allocations: 0 / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.005053, allocations: 128.7 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005054, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.00509, allocations: 11.98 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.005093, allocations: 3.938 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.005101, allocations: 8 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005102, allocations: 3.984 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.005104, allocations: 4 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.005248, allocations: 160.2 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005256, allocations: 7.875 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.005267, allocations: 4 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.005306, allocations: 3.984 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.005349, allocations: 8.188 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005352, allocations: 4.031 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.005382, allocations: 91.25 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005382, allocations: 0 / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001397/0.005522, allocations: 4 kB / 1.003 GB, free: 9.41 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.0003239/0.005846, allocations: 0.6967 MB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.005974, allocations: 39.98 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005975, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.006027, allocations: 31.91 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.006269, allocations: 0 / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.006616, allocations: 134.5 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.006662, allocations: 59.34 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.006691, allocations: 8.125 kB / 1.004 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.00673, allocations: 12.5 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of SimCode: time 6.81e-07/0.006731, allocations: 0 / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.02762, allocations: 2.143 MB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.747, allocations: 11.36 kB / 1.006 GB, free: 6.336 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! Error: Could not read variable reaToInt.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.9630316644907]