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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004921/0.004921, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001114/0.001114, allocations: 187.5 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 157.4 MB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001737/0.3039, allocations: 0.664 MB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.3049, allocations: 0.8273 MB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.3049, allocations: 0 / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.305, allocations: 3.938 kB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.305, allocations: 3.938 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.3052, allocations: 27.97 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.3053, allocations: 51.84 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.3054, allocations: 11.98 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3055, allocations: 15.98 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.3055, allocations: 31.84 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3055, allocations: 7.938 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.3056, allocations: 4 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.3056, allocations: 7.984 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.3056, allocations: 15.94 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.3057, allocations: 51.78 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3057, allocations: 0 / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3057, allocations: 0 / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3057, allocations: 0 / 1.209 GB, free: 8.484 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.0004544/0.3062, allocations: 351.7 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3062, allocations: 8.625 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.3063, allocations: 34.75 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.3063, allocations: 12.84 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3064, allocations: 164.4 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3065, allocations: 4.375 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3065, allocations: 4.375 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3067, allocations: 78.12 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3067, allocations: 3.938 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3067, allocations: 0 / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3067, allocations: 0 / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.3069, allocations: 47.95 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3073, allocations: 296.7 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3075, allocations: 66.47 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3076, allocations: 28.92 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3076, allocations: 0 / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3077, allocations: 38.5 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3077, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003797/0.3081, allocations: 109.6 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3081, allocations: 55.34 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.3082, allocations: 105.8 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3082, allocations: 25.7 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3083, allocations: 99.98 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3083, allocations: 3.906 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.3083, allocations: 21.7 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.3084, allocations: 314.8 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.3085, allocations: 31.97 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.3086, allocations: 19.98 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3088, allocations: 53.09 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3088, allocations: 0 / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002312/0.3091, allocations: 97.47 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3091, allocations: 4 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3091, allocations: 4 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3091, allocations: 0 / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3092, allocations: 11.98 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3092, allocations: 4 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.3093, allocations: 7.984 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3093, allocations: 0 / 1.211 GB, free: 6.184 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 7.65e-05/0.3094, allocations: 117.8 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.3094, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.3095, allocations: 7.906 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3095, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3095, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3095, allocations: 3.984 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3097, allocations: 177.5 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3097, allocations: 4.25 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.3098, allocations: 19.98 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3098, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3098, allocations: 3.984 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3098, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3098, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3101, allocations: 191.3 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.3101, allocations: 81.11 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3101, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.3102, allocations: 7.984 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3103, allocations: 8 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3103, allocations: 3.984 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.3103, allocations: 87.22 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3104, allocations: 3.938 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000224/0.3106, allocations: 12 kB / 1.212 GB, free: 5.367 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.0005081/0.3111, allocations: 0.7201 MB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3113, allocations: 59.94 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3114, allocations: 4 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3115, allocations: 27.97 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3118, allocations: 10.44 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3132, allocations: 1.323 MB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3134, allocations: 0.6807 MB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3135, allocations: 4 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.3135, allocations: 19.42 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3135, allocations: 0 / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.3313, allocations: 1.863 MB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.989, allocations: 9.688 kB / 1.216 GB, free: 0.6602 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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