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.001679/0.001679, allocations: 108 kB / 15.6 MB, free: 132 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.001806/0.001806, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.475/2.475, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 66.41 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2326, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001551/0.2342, allocations: 0.6172 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.235, allocations: 0.8234 MB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.235, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.2351, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.2351, allocations: 7.938 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.2352, allocations: 15.92 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.2353, allocations: 23.98 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.2354, allocations: 15.98 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.2354, allocations: 11.92 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.2355, allocations: 8 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2355, allocations: 4 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.2355, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.2355, allocations: 11.92 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.2356, allocations: 8 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.296e-05/0.2356, allocations: 27.88 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.2356, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2356, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.2356, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8262 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.0003963/0.236, allocations: 335.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2361, allocations: 8.031 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.2361, allocations: 30.75 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.2362, allocations: 12.78 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2363, allocations: 160.4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2363, allocations: 4.359 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2363, allocations: 8.375 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.2365, allocations: 58.22 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2365, allocations: 3.938 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2365, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2365, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2367, allocations: 43.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.237, allocations: 240.9 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.2371, allocations: 50.53 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.2372, allocations: 22.75 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2372, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2373, allocations: 38.55 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2373, allocations: 3.938 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003295/0.2376, allocations: 89.55 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2376, allocations: 51.41 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.2377, allocations: 97.86 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2377, allocations: 25.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.2378, allocations: 92.12 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.2378, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2379, allocations: 17.84 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.238, allocations: 314.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.2381, allocations: 15.97 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.2381, allocations: 19.98 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2383, allocations: 44.75 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2383, allocations: 8 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.2385, allocations: 69.56 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2385, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.2385, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.2385, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.2386, allocations: 15.98 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2386, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.2387, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.2387, allocations: 4.031 kB / 1.067 GB, free: 10.5 MB / 0.8262 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.22e-05/0.2388, allocations: 117.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.2388, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.353e-05/0.2388, allocations: 7.125 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2388, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2388, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.2388, allocations: 3.938 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.239, allocations: 161.6 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.239, allocations: 7.922 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.2391, allocations: 8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2391, allocations: 7.938 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2391, allocations: 7.984 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2391, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2391, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2394, allocations: 167.5 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2394, allocations: 77.11 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2394, allocations: 4 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.2395, allocations: 4.172 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.2395, allocations: 8 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.2395, allocations: 3.984 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.2396, allocations: 83.27 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2396, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001953/0.2398, allocations: 7.906 kB / 1.068 GB, free: 9.75 MB / 0.8262 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.0005215/0.2403, allocations: 0.7007 MB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.2405, allocations: 51.98 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2405, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.2406, allocations: 27.91 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.2409, allocations: 9.969 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.2412, allocations: 131.2 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2415, allocations: 0.6768 MB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.2415, allocations: 4.125 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.2416, allocations: 15.44 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2416, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9049/1.146, allocations: 1.414 MB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.959/11.11, allocations: 11.92 kB / 1.071 GB, free: 6.715 MB / 0.8262 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