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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001304/0.001305, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5003, allocations: 151.6 MB / 1.017 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001656/0.502, allocations: 0.6173 MB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.5028, allocations: 0.8312 MB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.5028, allocations: 3.938 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.5029, allocations: 3.938 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.5029, allocations: 3.938 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.5031, allocations: 11.98 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.5031, allocations: 27.92 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.5032, allocations: 4 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.5033, allocations: 7.938 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.5033, allocations: 19.97 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.5033, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.5034, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.5034, allocations: 11.92 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.5034, allocations: 4 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.438e-05/0.5035, allocations: 23.91 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5035, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5035, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.5035, allocations: 0 / 1.019 GB, free: 1.008 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.0003863/0.5039, allocations: 345.7 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.5039, allocations: 12.03 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.504, allocations: 30.75 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.504, allocations: 0.9375 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.5041, allocations: 168.3 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.5041, allocations: 8.312 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.5041, allocations: 384 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5043, allocations: 58.22 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5043, allocations: 3.938 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5043, allocations: 8 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5043, allocations: 0 / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.5045, allocations: 35.95 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.5048, allocations: 252.9 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.505, allocations: 50.42 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.5051, allocations: 24.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5051, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5051, allocations: 30.56 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5051, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003569/0.5055, allocations: 89.72 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5055, allocations: 55.34 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.5056, allocations: 101.9 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.5056, allocations: 25.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.5057, allocations: 84.14 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.5057, allocations: 11.83 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.5057, allocations: 13.72 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.5058, allocations: 310.8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.5059, allocations: 27.95 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.506, allocations: 19.97 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.5062, allocations: 36.83 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5062, allocations: 3.938 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.5064, allocations: 69.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5064, allocations: 7.938 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5064, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.5064, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.5065, allocations: 7.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5066, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.5066, allocations: 11.98 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5066, allocations: 0 / 1.021 GB, free: 14.9 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.164e-05/0.5067, allocations: 117.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5067, allocations: 3.906 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.5068, allocations: 7.109 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5068, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5068, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.5068, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.5069, allocations: 161.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5069, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.507, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.507, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.507, allocations: 7.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.507, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.507, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.5073, allocations: 171.4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.5073, allocations: 81.11 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5073, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.5074, allocations: 12.02 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.5075, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.5075, allocations: 8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.5075, allocations: 79.27 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5075, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.5077, allocations: 0 / 1.021 GB, free: 14.15 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.0004691/0.5082, allocations: 0.6968 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.5085, allocations: 47.89 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5085, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.87e-05/0.5086, allocations: 20.08 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5088, allocations: 21.23 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.5092, allocations: 135.2 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.5094, allocations: 0.6768 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.5095, allocations: 8.062 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.5095, allocations: 11.44 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5095, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/0.781, allocations: 1.416 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.989/10.77, allocations: 8.703 kB / 1.024 GB, free: 11.12 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