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.0008911/0.0008911, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005509/0.005509, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.272/2.272, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002941, allocations: 8.281 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4796, allocations: 153.8 MB / 1.023 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0006228/0.4802, allocations: 357.1 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007454/0.481, allocations: 0.8196 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.481, allocations: 3.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.4811, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.4811, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.4812, allocations: 15.98 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.4813, allocations: 27.92 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.4814, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.4814, allocations: 19.91 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.4815, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.4815, allocations: 8 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.4815, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.4815, allocations: 11.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.4816, allocations: 29.7 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.443e-05/0.4816, allocations: 27.88 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4816, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4816, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.4816, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 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.0003599/0.482, allocations: 341.8 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.482, allocations: 12.03 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.4821, allocations: 38.69 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.693e-05/0.4821, allocations: 0.9375 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.4822, allocations: 164.3 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4822, allocations: 4.375 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.4822, allocations: 384 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4824, allocations: 62.22 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4824, allocations: 3.938 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.4824, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4824, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.4826, allocations: 39.97 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.4829, allocations: 256.9 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.483, allocations: 50.48 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.4831, allocations: 44.77 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.4832, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4832, allocations: 30.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4832, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.4835, allocations: 109.6 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.4836, allocations: 51.41 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.4836, allocations: 97.86 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4837, allocations: 29.7 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.4837, allocations: 84.12 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4837, allocations: 7.969 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.4837, allocations: 13.72 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.4838, allocations: 314.8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.4839, allocations: 19.98 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.484, allocations: 27.97 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.4842, allocations: 48.89 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4842, allocations: 3.938 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.4844, allocations: 89.59 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4844, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4844, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.4844, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.4845, allocations: 11.98 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.4845, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.4846, allocations: 12.02 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.4846, allocations: 0 / 1.026 GB, free: 12.49 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.754e-05/0.4847, allocations: 114.3 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.4847, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.4847, allocations: 7.125 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4847, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4847, allocations: 7.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.4847, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.4849, allocations: 161.6 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4849, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.485, allocations: 11.98 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.485, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.485, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.485, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.485, allocations: 7.875 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4852, allocations: 179.4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.4853, allocations: 85.09 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.4853, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.4854, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4854, allocations: 16.02 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4854, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.4855, allocations: 83.27 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4855, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001921/0.4857, allocations: 4 kB / 1.027 GB, free: 11.72 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.0004466/0.4861, allocations: 0.7085 MB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4863, allocations: 55.98 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4863, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.4864, allocations: 27.98 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4867, allocations: 7.984 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.487, allocations: 142.3 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.4872, allocations: 0.6731 MB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.4872, allocations: 7.984 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.4873, allocations: 11.44 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.4873, allocations: 0 / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/0.6738, allocations: 1.172 MB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.6741, allocations: 214.5 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.207, allocations: 0 / 1.03 GB, free: 8.715 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