Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.004972/0.004972, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001143/0.001143, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 66.91 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2936, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001784/0.2955, allocations: 0.6461 MB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2964, allocations: 0.8394 MB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.2965, allocations: 4 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.2965, allocations: 3.938 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.2966, allocations: 3.938 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.2968, allocations: 31.83 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.2969, allocations: 43.91 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.297, allocations: 11.94 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.2971, allocations: 23.92 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.2972, allocations: 27.89 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2972, allocations: 8 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.2972, allocations: 4 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.2972, allocations: 4 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2973, allocations: 23.86 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.2974, allocations: 43.86 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2974, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2974, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2974, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005158/0.2979, allocations: 354.3 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.298, allocations: 12.03 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.298, allocations: 30.75 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.298, allocations: 4.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2982, allocations: 185 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2982, allocations: 4.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2982, allocations: 384 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2984, allocations: 66.22 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2984, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2985, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2985, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.2987, allocations: 51.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.2991, allocations: 288.7 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.2993, allocations: 58.55 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2994, allocations: 40.91 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.2995, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2995, allocations: 34.5 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.2995, allocations: 3.984 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004303/0.2999, allocations: 109.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3, allocations: 59.41 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.3001, allocations: 105.8 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3001, allocations: 25.7 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.3001, allocations: 84.14 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3002, allocations: 15.8 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3002, allocations: 17.72 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.3003, allocations: 314.8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3004, allocations: 31.97 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.3005, allocations: 23.97 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3007, allocations: 52.81 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3007, allocations: 3.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002478/0.301, allocations: 81.59 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.301, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.301, allocations: 8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3011, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3012, allocations: 15.97 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3012, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.3013, allocations: 4 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3013, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.46e-05/0.3014, allocations: 127.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3014, allocations: 3.906 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.3015, allocations: 15.91 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3015, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3015, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3015, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3017, allocations: 173.6 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3017, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.3018, allocations: 20.17 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3018, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3018, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3018, allocations: 3.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3018, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3021, allocations: 183.4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3022, allocations: 85.02 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3022, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3023, allocations: 7.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.3024, allocations: 11.98 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3024, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.3024, allocations: 83.27 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3024, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.3027, allocations: 12 kB / 1.092 GB, free: 13.17 MB / 0.8575 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.00058/0.3032, allocations: 0.7166 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3035, allocations: 55.98 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3035, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3037, allocations: 35.91 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.304, allocations: 7.984 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3054, allocations: 1.321 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.3057, allocations: 0.6768 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.531e-05/0.3057, allocations: 7.984 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3058, allocations: 19.44 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3058, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.3246, allocations: 1.816 MB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.963, allocations: 8.047 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches