Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_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.005243/0.005243, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001663/0.001663, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.415/2.415, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5869/0.5886, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001426/0.5901, allocations: 0.6122 MB / 1.221 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.5909, allocations: 0.8351 MB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.5909, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.5909, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.591, allocations: 3.938 kB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.5911, allocations: 11.98 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.5912, allocations: 27.92 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.5912, allocations: 4 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.5913, allocations: 19.91 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.5913, allocations: 11.98 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.5914, allocations: 8 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.5914, allocations: 0 / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.5914, allocations: 7.938 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.5914, allocations: 7.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.062e-05/0.5915, allocations: 31.88 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5915, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5915, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5915, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 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.000399/0.5919, allocations: 339.2 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.592, allocations: 12.03 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.592, allocations: 34.69 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.592, allocations: 8.891 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5922, allocations: 164.3 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5922, allocations: 384 / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.5922, allocations: 4.375 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5923, allocations: 54.22 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.5924, allocations: 3.938 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5924, allocations: 3.984 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.5924, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.5925, allocations: 35.95 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.5928, allocations: 252.9 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.593, allocations: 38.5 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.5931, allocations: 28.91 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5931, allocations: 7.922 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5931, allocations: 34.56 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5931, allocations: 4 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003166/0.5934, allocations: 85.58 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.5935, allocations: 55.53 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.5936, allocations: 101.8 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5936, allocations: 25.7 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.5936, allocations: 88.09 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.5936, allocations: 0 / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.5937, allocations: 13.72 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5938, allocations: 314.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.5939, allocations: 23.97 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.5939, allocations: 15.98 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.5941, allocations: 44.81 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5941, allocations: 3.938 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.5943, allocations: 73.64 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.5943, allocations: 8 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.5943, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.5943, allocations: 0 / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.5944, allocations: 11.98 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.5944, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.5945, allocations: 7.938 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.5945, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 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 7.242e-05/0.5946, allocations: 124.4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.5946, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.5946, allocations: 3.125 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.5946, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5946, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.5946, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5948, allocations: 165.6 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5948, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.5948, allocations: 4 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5949, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5949, allocations: 7.984 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5949, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5949, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.5951, allocations: 171.3 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.5952, allocations: 81.06 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.5952, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.5952, allocations: 11.98 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.5953, allocations: 8.031 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.5953, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.5953, allocations: 87.27 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5953, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001926/0.5955, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 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.0004783/0.596, allocations: 0.7012 MB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.5962, allocations: 39.95 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5962, allocations: 0 / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.5963, allocations: 23.97 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.5966, allocations: 10.52 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.5969, allocations: 139 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5971, allocations: 0.6768 MB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.5972, allocations: 7.906 kB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.5972, allocations: 7.438 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.5972, allocations: 0 / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.844/4.441, allocations: 1.467 MB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/21.71, allocations: 10.5 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches