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.00684/0.00684, allocations: 99.7 kB / 15.73 MB, free: 6.469 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.001301/0.001301, allocations: 193.8 kB / 16.67 MB, free: 6.379 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: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001295, allocations: 59.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.317, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001965/0.319, allocations: 0.6581 MB / 1.208 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3201, allocations: 0.8234 MB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.3202, allocations: 0 / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.3202, allocations: 3.938 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.3203, allocations: 3.938 kB / 1.209 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3205, allocations: 31.91 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.3206, allocations: 39.92 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3207, allocations: 23.97 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.3208, allocations: 15.92 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.3209, allocations: 27.86 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3209, allocations: 4 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3209, allocations: 4 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.321, allocations: 7.984 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.321, allocations: 15.92 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3211, allocations: 47.8 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3211, allocations: 4 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3211, allocations: 4 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3211, allocations: 0 / 1.209 GB, free: 8.406 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.0005443/0.3217, allocations: 347.5 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3217, allocations: 8.625 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.3218, allocations: 38.75 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3218, allocations: 4.844 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.322, allocations: 164.4 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.322, allocations: 384 / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.322, allocations: 16.31 kB / 1.209 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.3222, allocations: 70.19 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3222, allocations: 3.938 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3223, allocations: 7.984 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3223, allocations: 3.938 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3225, allocations: 43.95 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.3229, allocations: 292.7 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3231, allocations: 70.47 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3232, allocations: 24.92 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3233, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3233, allocations: 34.56 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.3233, allocations: 4 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004238/0.3237, allocations: 109.5 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3238, allocations: 55.41 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3239, allocations: 105.8 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3239, allocations: 25.7 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.324, allocations: 91.98 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.324, allocations: 7.906 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.324, allocations: 25.7 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3241, allocations: 314.8 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3243, allocations: 28.22 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.3244, allocations: 19.98 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3246, allocations: 56.81 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3246, allocations: 4 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002645/0.3248, allocations: 93.48 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3249, allocations: 5.562 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3249, allocations: 3.984 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3249, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.325, allocations: 11.98 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.325, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.3251, allocations: 7.984 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3251, allocations: 8 kB / 1.211 GB, free: 6.109 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.834e-05/0.3252, allocations: 113.8 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3253, allocations: 4 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3253, allocations: 3.906 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3253, allocations: 3.984 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3253, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3253, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3255, allocations: 185.6 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3255, allocations: 0 / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.3256, allocations: 15.98 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3256, allocations: 336 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3256, allocations: 3.984 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3256, allocations: 4 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3256, allocations: 3.938 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3259, allocations: 187.3 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.326, allocations: 85.05 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.326, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3261, allocations: 7.984 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3262, allocations: 11.98 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3262, allocations: 4 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.3262, allocations: 87.22 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3262, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000227/0.3265, allocations: 8 kB / 1.212 GB, free: 5.293 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.0005558/0.327, allocations: 0.7255 MB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3273, allocations: 51.95 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3273, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3275, allocations: 39.91 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3278, allocations: 4.188 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3293, allocations: 1.323 MB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3296, allocations: 0.6807 MB / 1.214 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3296, allocations: 8 kB / 1.214 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.3297, allocations: 19.42 kB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3297, allocations: 0 / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.3472, allocations: 1.856 MB / 1.216 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.183, allocations: 8.75 kB / 1.216 GB, free: 0.5859 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