Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_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.005544/0.005544, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001575/0.001575, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.53 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001723/0.2823, allocations: 0.6642 MB / 1.242 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00094/0.2833, allocations: 0.8315 MB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.2833, allocations: 0 / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.2834, allocations: 7.938 kB / 1.243 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.2835, allocations: 3.938 kB / 1.243 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2836, allocations: 23.92 kB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.2837, allocations: 35.97 kB / 1.243 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2838, allocations: 27.97 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.2839, allocations: 19.88 kB / 1.243 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.2839, allocations: 23.91 kB / 1.243 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.284, allocations: 4 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.284, allocations: 4 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.284, allocations: 11.98 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.2841, allocations: 19.86 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2842, allocations: 48.08 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2842, allocations: 4 kB / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2842, allocations: 0 / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2842, allocations: 0 / 1.243 GB, free: 7.547 MB / 0.9669 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.0005081/0.2847, allocations: 347.3 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2847, allocations: 16.02 kB / 1.243 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.2848, allocations: 34.75 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.2848, allocations: 0.9375 kB / 1.244 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.285, allocations: 172.3 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.285, allocations: 8.312 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.285, allocations: 4.375 kB / 1.244 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2852, allocations: 74.19 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2853, allocations: 3.938 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2853, allocations: 7.984 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2853, allocations: 0 / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.2855, allocations: 51.94 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.2859, allocations: 292.7 kB / 1.244 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2862, allocations: 58.55 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2863, allocations: 32.84 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2863, allocations: 4 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2863, allocations: 30.56 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2863, allocations: 4 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004378/0.2868, allocations: 117.5 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2868, allocations: 51.41 kB / 1.244 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.2869, allocations: 101.9 kB / 1.244 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2869, allocations: 25.7 kB / 1.244 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.287, allocations: 88.12 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.287, allocations: 15.91 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2871, allocations: 17.72 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2872, allocations: 318.8 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2873, allocations: 19.98 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.2874, allocations: 23.97 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.2877, allocations: 56.81 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2877, allocations: 4 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002577/0.2879, allocations: 85.83 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.288, allocations: 4 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.288, allocations: 0 / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.288, allocations: 0 / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2881, allocations: 23.98 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2881, allocations: 0 / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.2882, allocations: 11.94 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2882, allocations: 4 kB / 1.245 GB, free: 5.242 MB / 0.9669 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.865e-05/0.2883, allocations: 118.2 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2883, allocations: 0 / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.2884, allocations: 7.906 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2884, allocations: 4 kB / 1.245 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2884, allocations: 0 / 1.245 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.2884, allocations: 0 / 1.245 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.2886, allocations: 177.6 kB / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2886, allocations: 0 / 1.245 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.797e-05/0.2887, allocations: 15.98 kB / 1.245 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2887, allocations: 4 kB / 1.245 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2887, allocations: 4.266 kB / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2887, allocations: 0 / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2887, allocations: 0 / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.2891, allocations: 191.4 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2891, allocations: 89.03 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2891, allocations: 4 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2893, allocations: 4 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.2893, allocations: 7.984 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.2893, allocations: 7.938 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.2894, allocations: 87.27 kB / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 0 / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002319/0.2896, allocations: 8 kB / 1.246 GB, free: 4.426 MB / 0.9669 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.0006298/0.2903, allocations: 0.7201 MB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.2905, allocations: 55.94 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2906, allocations: 4 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.2907, allocations: 35.91 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.291, allocations: 4 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2926, allocations: 1.305 MB / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2929, allocations: 0.6807 MB / 1.249 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.2929, allocations: 8.25 kB / 1.249 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.293, allocations: 15.42 kB / 1.249 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.293, allocations: 0 / 1.249 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.3179, allocations: 1.82 MB / 1.25 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.028, allocations: 8.078 kB / 1.25 GB, free: 15.78 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches