Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 103.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7287 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.84 kB / 1.056 GB, free: 2.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 160.7 MB / 1.213 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00186/0.3049, allocations: 0.6253 MB / 1.214 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3059, allocations: 0.8273 MB / 1.214 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.3059, allocations: 0 / 1.214 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.306, allocations: 3.938 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.3061, allocations: 3.938 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.3062, allocations: 19.92 kB / 1.214 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.3063, allocations: 31.92 kB / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.3064, allocations: 0 / 1.214 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.3064, allocations: 11.98 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.3065, allocations: 19.91 kB / 1.214 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3065, allocations: 4 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.3065, allocations: 0 / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.3065, allocations: 4 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.3066, allocations: 7.938 kB / 1.214 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.3066, allocations: 24.17 kB / 1.214 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3066, allocations: 4 kB / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3066, allocations: 0 / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3066, allocations: 4 kB / 1.214 GB, free: 15.8 MB / 0.9669 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.0005033/0.3072, allocations: 339.4 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3072, allocations: 8.031 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.3072, allocations: 38.75 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.3073, allocations: 4.891 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3074, allocations: 164.4 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3074, allocations: 12.3 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3074, allocations: 384 / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3076, allocations: 54.23 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3076, allocations: 3.938 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3076, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3076, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3078, allocations: 39.89 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3082, allocations: 253 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3083, allocations: 50.44 kB / 1.215 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.3084, allocations: 24.89 kB / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3084, allocations: 0 / 1.215 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3085, allocations: 34.56 kB / 1.215 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3085, allocations: 0 / 1.215 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.3088, allocations: 85.64 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3089, allocations: 55.34 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.309, allocations: 101.8 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.309, allocations: 25.7 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.3091, allocations: 88.09 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.3091, allocations: 0 / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.3091, allocations: 21.84 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3093, allocations: 310.8 kB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/0.3093, allocations: 15.97 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.3094, allocations: 19.98 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3096, allocations: 40.81 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3096, allocations: 8 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002316/0.3098, allocations: 77.55 kB / 1.216 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3098, allocations: 7.938 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3098, allocations: 0 / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3098, allocations: 0 / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3099, allocations: 11.98 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3099, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.31, allocations: 4 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.31, allocations: 4.031 kB / 1.216 GB, free: 13.7 MB / 0.9669 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 8.675e-05/0.3101, allocations: 117.8 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3101, allocations: 0 / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.3101, allocations: 7.125 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3101, allocations: 0 / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3101, allocations: 0 / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3101, allocations: 4 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.3103, allocations: 161.6 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3103, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3104, allocations: 8 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.3104, allocations: 7.984 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3104, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3104, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3104, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3107, allocations: 171.4 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.3107, allocations: 81.05 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3107, allocations: 7.938 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3108, allocations: 3.984 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3109, allocations: 8 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.3109, allocations: 3.984 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.3109, allocations: 79.28 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3109, allocations: 0 / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00022/0.3111, allocations: 7.953 kB / 1.217 GB, free: 12.95 MB / 0.9669 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.0006279/0.3118, allocations: 0.7007 MB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.312, allocations: 47.92 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.312, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.3121, allocations: 23.97 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3124, allocations: 4 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.3128, allocations: 139.1 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3132, allocations: 0.6806 MB / 1.218 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.3132, allocations: 4.125 kB / 1.218 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.3132, allocations: 11.44 kB / 1.218 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3132, allocations: 0 / 1.218 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.3371, allocations: 1.459 MB / 1.22 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.538, allocations: 0.5 kB / 1.22 GB, free: 9.898 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.455630986019969]