Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 197.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001465, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5614, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001482/0.5629, allocations: 0.6756 MB / 0.9497 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005561/0.5635, allocations: 0.8198 MB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.5635, allocations: 0 / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.5636, allocations: 0 / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.5636, allocations: 1.594 kB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.5637, allocations: 18.39 kB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.5638, allocations: 31.55 kB / 0.9506 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.5638, allocations: 6.453 kB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.5639, allocations: 12.09 kB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.5639, allocations: 11.73 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.564, allocations: 6.469 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.564, allocations: 1.375 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.564, allocations: 3.938 kB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.564, allocations: 10.2 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.115e-05/0.5641, allocations: 24.58 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5641, allocations: 4 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.41e-07/0.5641, allocations: 1.562 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.5641, allocations: 0 / 0.9506 GB, free: 7.953 MB / 0.7169 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.000304/0.5644, allocations: 335.2 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.5644, allocations: 9.188 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.5645, allocations: 34.73 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.817e-05/0.5645, allocations: 2.25 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.674e-05/0.5645, allocations: 169.6 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5646, allocations: 5.5 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.5646, allocations: 1.375 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.5647, allocations: 50.52 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.5647, allocations: 5.156 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.5648, allocations: 0 / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5648, allocations: 5.297 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.5649, allocations: 38.91 kB / 0.9513 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.5652, allocations: 251 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.5653, allocations: 43.42 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.5654, allocations: 23.78 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5654, allocations: 0 / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.5654, allocations: 43.66 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.5654, allocations: 0 / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003224/0.5657, allocations: 82.64 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.5658, allocations: 55.39 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.144e-05/0.5658, allocations: 100 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.5658, allocations: 25.7 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.5658, allocations: 86.27 kB / 0.9519 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.5659, allocations: 11.84 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.5659, allocations: 16.58 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.075e-05/0.5659, allocations: 310.8 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.566, allocations: 21.86 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.5661, allocations: 22.53 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5662, allocations: 45.33 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5662, allocations: 3.938 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001738/0.5664, allocations: 69.44 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5664, allocations: 7 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5664, allocations: 0 / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5665, allocations: 0 / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.5666, allocations: 11.48 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5666, allocations: 4 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.5666, allocations: 7.141 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5666, allocations: 1.562 kB / 0.9525 GB, free: 6.078 MB / 0.7169 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 3.911e-05/0.5667, allocations: 115.4 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.5667, allocations: 1.562 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.5667, allocations: 3.125 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5667, allocations: 1.219 kB / 0.9526 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5667, allocations: 7.922 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.5667, allocations: 4 kB / 0.9526 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.5668, allocations: 167.5 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5668, allocations: 0 / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.5669, allocations: 9.766 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5669, allocations: 1.5 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.5669, allocations: 0 / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5669, allocations: 0 / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5669, allocations: 1.344 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.5671, allocations: 168.7 kB / 0.9529 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.5672, allocations: 85.22 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.5672, allocations: 1.344 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.5673, allocations: 2.969 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.5673, allocations: 11.03 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5673, allocations: 0 / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.807e-05/0.5673, allocations: 87.55 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.22e-07/0.5673, allocations: 4.031 kB / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002008/0.5675, allocations: 7.469 kB / 0.9531 GB, free: 5.375 MB / 0.7169 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.0003203/0.5679, allocations: 0.6929 MB / 0.9538 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.5681, allocations: 42.42 kB / 0.9538 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.5681, allocations: 0 / 0.9538 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.5682, allocations: 25.11 kB / 0.9538 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5684, allocations: 6.203 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.5687, allocations: 142.8 kB / 0.954 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.5688, allocations: 0.6774 MB / 0.9547 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.5689, allocations: 2.281 kB / 0.9547 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.5689, allocations: 13.41 kB / 0.9547 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5689, allocations: 0 / 0.9547 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/1.739, allocations: 1.231 MB / 0.9559 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.74, allocations: 219.1 kB / 0.9561 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/3.554, allocations: 0 / 0.9561 GB, free: 2.914 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches