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.007156/0.007156, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001962/0.001962, allocations: 203 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001723/0.2909, allocations: 0.623 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.2919, allocations: 0.8174 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.2919, allocations: 0 / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.292, allocations: 0 / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.292, allocations: 7.938 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.2922, allocations: 19.98 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.2923, allocations: 27.92 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.2924, allocations: 4 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.2925, allocations: 19.91 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.2925, allocations: 11.98 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2926, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.2926, allocations: 0 / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.2926, allocations: 3.938 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.2926, allocations: 8 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.2927, allocations: 27.88 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2928, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2928, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2928, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 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.0005841/0.2934, allocations: 339.5 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2934, allocations: 8.031 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.2935, allocations: 38.69 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2935, allocations: 8.891 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.2937, allocations: 168.3 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2937, allocations: 4.375 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2938, allocations: 4.375 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.294, allocations: 50.23 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.294, allocations: 3.938 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.294, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.294, allocations: 0 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.2943, allocations: 35.95 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.2948, allocations: 256.9 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.295, allocations: 42.5 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2951, allocations: 28.83 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.2952, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.2952, allocations: 30.56 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.2952, allocations: 8 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005258/0.2957, allocations: 85.58 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2958, allocations: 51.41 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2959, allocations: 101.8 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.296, allocations: 25.7 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.296, allocations: 92.16 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.2961, allocations: 4 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.2961, allocations: 13.72 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2963, allocations: 318.8 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2965, allocations: 15.98 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2966, allocations: 15.98 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2968, allocations: 44.88 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2969, allocations: 3.938 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003291/0.2972, allocations: 77.55 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2972, allocations: 4 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2972, allocations: 3.984 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2973, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2974, allocations: 15.98 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.2974, allocations: 4.031 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.2975, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2975, allocations: 3.984 kB / 1.224 GB, free: 10.64 MB / 0.9825 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 0.0001031/0.2976, allocations: 113.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.2977, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.2977, allocations: 7.125 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2977, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2977, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.2977, allocations: 4.188 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.298, allocations: 165.6 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.298, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2981, allocations: 7.984 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2982, allocations: 3.984 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2982, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2982, allocations: 3.938 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2982, allocations: 3.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.2986, allocations: 167.5 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.2987, allocations: 81.06 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2987, allocations: 0 / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2988, allocations: 7.984 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.2989, allocations: 11.98 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2989, allocations: 0 / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.299, allocations: 79.28 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.299, allocations: 4.031 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004266/0.2995, allocations: 8 kB / 1.224 GB, free: 9.887 MB / 0.9825 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.0008228/0.3003, allocations: 0.7012 MB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3006, allocations: 40 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3007, allocations: 3.938 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3008, allocations: 23.97 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.3013, allocations: 5.891 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.3019, allocations: 138.9 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.3023, allocations: 0.6808 MB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.3024, allocations: 4 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3025, allocations: 11.42 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3025, allocations: 0 / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.3279, allocations: 1.458 MB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.83, allocations: 5.812 kB / 1.227 GB, free: 6.844 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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