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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 193 kB / 16.13 MB, free: 6.648 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.262/2.262, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 71.88 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4778, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001482/0.4793, allocations: 0.6798 MB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007041/0.48, allocations: 0.8273 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.4801, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.4801, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.4802, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.4803, allocations: 19.92 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.4803, allocations: 20 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.481e-05/0.4804, allocations: 11.97 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.4805, allocations: 15.88 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.4805, allocations: 15.98 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.4805, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.4806, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.4806, allocations: 7.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.4806, allocations: 11.92 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.468e-05/0.4807, allocations: 23.89 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4807, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.21e-07/0.4807, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.4807, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 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.0003683/0.4811, allocations: 341.8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4811, allocations: 8.031 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.4811, allocations: 30.75 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.981e-05/0.4811, allocations: 8.844 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.4812, allocations: 168.4 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4813, allocations: 384 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.4813, allocations: 4.375 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4814, allocations: 50.23 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4814, allocations: 3.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.4815, allocations: 8 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.4815, allocations: 0 / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.4816, allocations: 39.89 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.4819, allocations: 245 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4821, allocations: 54.42 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.4821, allocations: 20.91 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.4822, allocations: 0 / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4822, allocations: 34.56 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4822, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.00033/0.4825, allocations: 89.67 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4826, allocations: 51.41 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.4826, allocations: 101.8 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4826, allocations: 25.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.4827, allocations: 84.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.4827, allocations: 11.84 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.4827, allocations: 17.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.4828, allocations: 310.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.4829, allocations: 20.02 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.483, allocations: 19.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4832, allocations: 44.75 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4832, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.4834, allocations: 69.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4834, allocations: 6.188 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4834, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.4834, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.4835, allocations: 11.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.4835, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.4836, allocations: 7.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4836, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 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.825e-05/0.4836, allocations: 122.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.4837, allocations: 3.906 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.377e-05/0.4837, allocations: 3.125 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4837, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4837, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.4837, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4838, allocations: 165.6 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4838, allocations: 3.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.4839, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4839, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4839, allocations: 8 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4839, allocations: 3.938 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4839, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4842, allocations: 163.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.4842, allocations: 77.11 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.4842, allocations: 8.172 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.4843, allocations: 8.031 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4844, allocations: 7.969 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.4844, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.4844, allocations: 83.28 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4844, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002043/0.4846, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 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.0004533/0.4851, allocations: 0.7084 MB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.4853, allocations: 39.95 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4853, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.4854, allocations: 28.02 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.4856, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.486, allocations: 141 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.4862, allocations: 0.677 MB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.4862, allocations: 8.062 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.4862, allocations: 7.438 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of SimCode: time 1.473e-06/0.4862, allocations: 0 / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4148/0.901, allocations: 1.233 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.9013, allocations: 215 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.438, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches