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.001946/0.001946, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001454/0.001454, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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 3.405/3.405, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.00231/0.00231, allocations: 65.61 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4126, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002345/0.4149, allocations: 0.6114 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4163, allocations: 0.8514 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.4163, allocations: 0 / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.4164, allocations: 7.875 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.4164, allocations: 4 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.4166, allocations: 15.92 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.4167, allocations: 31.91 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.4168, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.4169, allocations: 11.94 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.4169, allocations: 11.98 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.4169, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.4169, allocations: 4 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.417, allocations: 7.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.417, allocations: 11.97 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.4171, allocations: 32.12 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4171, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4171, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4171, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 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.0004764/0.4176, allocations: 259.9 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4176, allocations: 8.031 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.4177, allocations: 30.75 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.4177, allocations: 4.891 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4178, allocations: 110.5 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4178, allocations: 4.359 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.4178, allocations: 16.31 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.4181, allocations: 50.23 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4181, allocations: 3.938 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.4181, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4181, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.4183, allocations: 35.95 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.4187, allocations: 212.1 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.4189, allocations: 54.42 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.419, allocations: 20.91 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.419, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.419, allocations: 34.56 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.419, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004161/0.4194, allocations: 81.64 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.4195, allocations: 51.53 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4196, allocations: 117.7 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4196, allocations: 29.64 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.4197, allocations: 80.14 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4197, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.4197, allocations: 17.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4199, allocations: 310.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.42, allocations: 19.98 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.42, allocations: 23.91 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4202, allocations: 40.89 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4202, allocations: 3.938 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002198/0.4204, allocations: 73.61 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4205, allocations: 8 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4205, allocations: 3.938 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4205, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4206, allocations: 12.02 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4206, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.4206, allocations: 7.984 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.4206, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 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.0001018/0.4207, allocations: 114.4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.4208, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.4208, allocations: 3.312 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.421, allocations: 144.6 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.421, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.4211, allocations: 7.984 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4211, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.4211, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4211, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4211, allocations: 0 / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.4213, allocations: 171.4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.4214, allocations: 7.984 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.4214, allocations: 8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.4214, allocations: 4.188 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.4215, allocations: 3.984 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.4215, allocations: 3.984 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.4216, allocations: 91.2 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4216, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002156/0.4218, allocations: 4 kB / 1.367 GB, free: 9.941 MB / 1.061 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.0006331/0.4224, allocations: 0.6968 MB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.4226, allocations: 43.89 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4226, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.4227, allocations: 19.98 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4231, allocations: 3.984 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.4236, allocations: 143.4 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.4237, allocations: 63.34 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.4237, allocations: 0 / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.4238, allocations: 15.44 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4238, allocations: 0 / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4544, allocations: 1.99 MB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 11.14 kB / 1.37 GB, free: 7.008 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.77672379091382]