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.0008304/0.0008304, 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.0009634/0.0009634, allocations: 169.9 kB / 22.46 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.873/0.873, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.69 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 2.605e-06/2.605e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.681e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002051/0.002078, allocations: 0.6117 MB / 1 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003181, allocations: 0.8432 MB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.003217, allocations: 0 / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.003244, allocations: 0 / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.003306, allocations: 11.88 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.003464, allocations: 11.98 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.003526, allocations: 23.92 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.003624, allocations: 15.98 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.003692, allocations: 11.98 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.003763, allocations: 15.92 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003785, allocations: 4 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-06/0.003791, allocations: 3.938 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.003807, allocations: 7.938 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.003826, allocations: 4 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.839e-05/0.003904, allocations: 31.94 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.003908, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.704e-06/0.003909, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003914, allocations: 4 kB / 1.001 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.0003261/0.00424, allocations: 262.3 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004279, allocations: 12.75 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.004304, allocations: 30.75 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.976e-05/0.004324, allocations: 0.9375 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.00441, allocations: 109.8 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.004431, allocations: 384 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.00444, allocations: 384 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.004573, allocations: 50.23 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.00458, allocations: 8.188 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004588, allocations: 384 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004593, allocations: 4.125 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.004686, allocations: 43.89 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.004964, allocations: 220 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/0.00505, allocations: 42.55 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.527e-05/0.005095, allocations: 28.83 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.005108, allocations: 4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005127, allocations: 38.5 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.005127, allocations: 3.938 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002197/0.005347, allocations: 81.64 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.005374, allocations: 51.41 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.005426, allocations: 101.8 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.005435, allocations: 25.7 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.005462, allocations: 88.27 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.005477, allocations: 3.953 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.005502, allocations: 17.72 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.005566, allocations: 314.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.005605, allocations: 11.98 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.005639, allocations: 19.98 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.005716, allocations: 44.81 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005718, allocations: 4 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.6e-05/0.005814, allocations: 73.59 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005826, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005831, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005842, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.005907, allocations: 7.984 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005911, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.005937, allocations: 12.02 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.005942, allocations: 4 kB / 1.003 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 4.937e-05/0.005992, allocations: 105.8 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.006003, allocations: 3.938 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.006022, allocations: 11.31 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006024, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.006028, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.00603, allocations: 3.938 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/0.00612, allocations: 128.8 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006121, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.006146, allocations: 15.98 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.006147, allocations: 3.938 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006153, allocations: 0 / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.006153, allocations: 3.938 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006154, allocations: 0 / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.006287, allocations: 168.2 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.006295, allocations: 11.86 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.006303, allocations: 0 / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.006341, allocations: 8.031 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.00638, allocations: 11.98 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.006383, allocations: 4 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.006406, allocations: 79.28 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001351/0.006542, allocations: 4 kB / 1.003 GB, free: 9.426 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.0002753/0.006817, allocations: 0.7006 MB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.006934, allocations: 39.98 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006935, allocations: 0 / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.006981, allocations: 27.92 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.007204, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.007513, allocations: 146.4 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.042e-05/0.007554, allocations: 59.47 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.007575, allocations: 4 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.00761, allocations: 16.5 kB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.007611, allocations: 0 / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.02041, allocations: 2.142 MB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/6.49, allocations: 3.375 kB / 1.006 GB, free: 6.348 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.470867821015418]