Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_10_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.007879/0.007879, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001384/0.001384, allocations: 189 kB / 16.67 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2836, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001795/0.2855, allocations: 0.6581 MB / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.2865, allocations: 0.8393 MB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.2865, allocations: 0 / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.2866, allocations: 3.938 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.2867, allocations: 11.94 kB / 1.168 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.2868, allocations: 19.98 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.2869, allocations: 39.91 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.287, allocations: 23.97 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.2871, allocations: 15.92 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.2872, allocations: 23.92 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2872, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2872, allocations: 4 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.2872, allocations: 15.92 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.2873, allocations: 15.92 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.84e-05/0.2874, allocations: 47.8 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2874, allocations: 0 / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2874, allocations: 4 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2874, allocations: 0 / 1.168 GB, free: 5.637 MB / 0.92 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.0005144/0.2879, allocations: 354.3 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.288, allocations: 8.031 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.288, allocations: 38.69 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.2881, allocations: 4.844 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2882, allocations: 173.1 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2882, allocations: 4.375 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2883, allocations: 8.375 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2885, allocations: 74.17 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2885, allocations: 7.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2885, allocations: 0 / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2885, allocations: 3.938 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.2887, allocations: 47.95 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.2892, allocations: 284.7 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.2895, allocations: 66.53 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2897, allocations: 28.86 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2897, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2897, allocations: 38.56 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2897, allocations: 4 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004475/0.2902, allocations: 105.6 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2902, allocations: 51.41 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.2903, allocations: 113.8 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2904, allocations: 25.7 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2904, allocations: 80.14 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.2905, allocations: 15.81 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.2905, allocations: 21.7 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2906, allocations: 318.8 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2907, allocations: 27.91 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.429e-05/0.2908, allocations: 19.98 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.291, allocations: 52.81 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.291, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002422/0.2913, allocations: 85.64 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2913, allocations: 5.719 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2913, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2913, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2915, allocations: 12.31 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2915, allocations: 7.938 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.2916, allocations: 11.89 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2916, allocations: 7.938 kB / 1.17 GB, free: 3.336 MB / 0.92 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 7.751e-05/0.2917, allocations: 117.7 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2917, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.2917, allocations: 11.89 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2917, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2918, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.2918, allocations: 7.984 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.2919, allocations: 177.6 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2919, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.292, allocations: 15.98 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2921, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2921, allocations: 4 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2921, allocations: 3.984 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2921, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.2924, allocations: 187.3 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2924, allocations: 81.11 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2925, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.2926, allocations: 11.98 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.2926, allocations: 4 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.2926, allocations: 7.984 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.2927, allocations: 87.53 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2927, allocations: 0 / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002256/0.2929, allocations: 8 kB / 1.171 GB, free: 2.52 MB / 0.92 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.0005855/0.2935, allocations: 0.7163 MB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.2938, allocations: 55.88 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2938, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.2939, allocations: 39.97 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2942, allocations: 0 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2958, allocations: 1.313 MB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2961, allocations: 0.6807 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.2961, allocations: 8 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.2962, allocations: 19.42 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.2962, allocations: 0 / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.3148, allocations: 1.811 MB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.887, allocations: 18.05 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intToRea.u,intToRea.y Variables in the result:intToRea.u,intToRea.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt1.u,reaToInt1.y,round2.n,round2.u,round2.y,time