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.0008327/0.0008327, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009251/0.0009251, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8894/0.8894, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.9505 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.639e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001412/0.001439, allocations: 0.6272 MB / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.002269, allocations: 0.8393 MB / 0.9519 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002301, allocations: 0 / 0.9519 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.002326, allocations: 0 / 0.9519 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.002383, allocations: 3.938 kB / 0.9519 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.002538, allocations: 15.92 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.002607, allocations: 31.92 kB / 0.952 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.002701, allocations: 0 / 0.952 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.002772, allocations: 19.97 kB / 0.952 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.002817, allocations: 15.92 kB / 0.952 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.002839, allocations: 0 / 0.952 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.002847, allocations: 4 kB / 0.952 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.002862, allocations: 7.938 kB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.002881, allocations: 7.984 kB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.048e-05/0.002962, allocations: 23.95 kB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.002966, allocations: 4 kB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.493e-06/0.002967, allocations: 0 / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002971, allocations: 7.938 kB / 0.952 GB, free: 1.945 MB / 0.9011 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.0003583/0.00333, allocations: 258.3 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.003371, allocations: 8.031 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.003401, allocations: 38.73 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.003424, allocations: 4.891 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.003506, allocations: 113.7 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.003527, allocations: 384 / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.003536, allocations: 4.375 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.003675, allocations: 50.23 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003682, allocations: 4.188 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.003691, allocations: 384 / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003697, allocations: 4.125 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.003792, allocations: 39.89 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.004089, allocations: 216.1 kB / 0.9527 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.004177, allocations: 42.55 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.004225, allocations: 20.91 kB / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.00424, allocations: 0 / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004262, allocations: 42.5 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004263, allocations: 0 / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002334/0.004497, allocations: 85.58 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.004529, allocations: 55.39 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.004596, allocations: 101.8 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.004607, allocations: 29.7 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.004644, allocations: 88.22 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.004659, allocations: 0 / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.004687, allocations: 17.7 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.004765, allocations: 314.8 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.004818, allocations: 15.98 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.004858, allocations: 19.97 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.004944, allocations: 44.83 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.004946, allocations: 4 kB / 0.9536 GB, free: 168 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001165/0.005063, allocations: 77.55 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.005078, allocations: 8 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.005083, allocations: 0 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005095, allocations: 0 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.005172, allocations: 7.984 kB / 0.9537 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005177, allocations: 7.938 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.005203, allocations: 12.02 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005208, allocations: 0 / 0.9537 GB, free: 48 kB / 0.9011 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 6.67e-05/0.005274, allocations: 105.8 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005289, allocations: 7.938 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.005308, allocations: 7.312 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00531, allocations: 0 / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.005321, allocations: 3.984 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005323, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.005434, allocations: 132.7 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005434, allocations: 0 / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.005467, allocations: 15.92 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005469, allocations: 3.938 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.005475, allocations: 0 / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.005477, allocations: 7.984 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005478, allocations: 0 / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.005623, allocations: 159.5 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.00563, allocations: 7.938 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.005639, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.00568, allocations: 12.02 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.005722, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.005725, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.00575, allocations: 87.27 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005751, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001477/0.005898, allocations: 7.953 kB / 0.9542 GB, free: 15.43 MB / 0.9167 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.0003297/0.006228, allocations: 0.6967 MB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.006368, allocations: 43.98 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.00637, allocations: 0 / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.006417, allocations: 27.91 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.006653, allocations: 6.188 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.006991, allocations: 131.1 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.007034, allocations: 59.47 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.007059, allocations: 8 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.007096, allocations: 12.5 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of SimCode: time 4.2e-07/0.007097, allocations: 3.938 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.024, allocations: 2.139 MB / 0.9573 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.771, allocations: 10.28 kB / 0.9573 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.667471431195736]