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.01198/0.01198, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.002305/0.002304, allocations: 191.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.648/2.648, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.243/5.243, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003287/0.003288, allocations: 64.3 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469/1.472, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.007225/1.479, allocations: 0.6635 MB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001808/1.481, allocations: 0.8375 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/1.481, allocations: 0 / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/1.481, allocations: 3.938 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/1.481, allocations: 7.922 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/1.482, allocations: 27.97 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/1.482, allocations: 47.84 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/1.482, allocations: 12 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/1.482, allocations: 11.98 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/1.482, allocations: 35.83 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/1.482, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.174e-05/1.482, allocations: 4 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/1.482, allocations: 7.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/1.482, allocations: 27.86 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/1.483, allocations: 43.8 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.483, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.505e-06/1.483, allocations: 0 / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.413e-05/1.483, allocations: 0 / 1.168 GB, free: 2.059 MB / 0.8887 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.0008192/1.484, allocations: 355 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.484, allocations: 8.625 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.019e-05/1.484, allocations: 38.75 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/1.484, allocations: 0.9375 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/1.484, allocations: 176.3 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/1.484, allocations: 384 / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/1.484, allocations: 8.375 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/1.484, allocations: 66.16 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.484, allocations: 3.938 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/1.485, allocations: 4 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.485, allocations: 0 / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/1.485, allocations: 51.94 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/1.486, allocations: 288.8 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/1.486, allocations: 66.48 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/1.486, allocations: 28.91 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/1.486, allocations: 0 / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.486, allocations: 42.55 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/1.486, allocations: 0 / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007132/1.487, allocations: 105.6 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.487, allocations: 59.34 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.487, allocations: 105.8 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.487, allocations: 25.7 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/1.487, allocations: 92.08 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/1.487, allocations: 19.83 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/1.488, allocations: 17.72 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002436/1.488, allocations: 322.8 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/1.488, allocations: 19.98 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/1.488, allocations: 23.97 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/1.489, allocations: 56.81 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.489, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004495/1.489, allocations: 81.66 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.489, allocations: 7.938 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.489, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.489, allocations: 3.984 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/1.489, allocations: 11.98 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.489, allocations: 7.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/1.49, allocations: 7.953 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/1.49, allocations: 7.938 kB / 1.17 GB, free: 15.75 MB / 0.9044 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 0.0001597/1.49, allocations: 117.8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/1.49, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/1.49, allocations: 3.906 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.49, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.49, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.49, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/1.49, allocations: 185.6 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.49, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.49, allocations: 11.98 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.49, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.49, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.49, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.491, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/1.491, allocations: 191.3 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/1.491, allocations: 77.11 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/1.491, allocations: 256 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/1.491, allocations: 11.98 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.491, allocations: 11.98 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/1.492, allocations: 7.938 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.356e-05/1.492, allocations: 87.27 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/1.492, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004452/1.492, allocations: 12 kB / 1.171 GB, free: 14.94 MB / 0.9044 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.001051/1.493, allocations: 0.7205 MB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004599/1.494, allocations: 59.97 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.494, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/1.494, allocations: 27.98 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/1.494, allocations: 7.984 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/1.497, allocations: 1.311 MB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/1.498, allocations: 0.6846 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.744e-05/1.498, allocations: 3.984 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/1.498, allocations: 19.44 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of SimCode: time 8.31e-07/1.498, allocations: 0 / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/1.625, allocations: 1.814 MB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/18.4, allocations: 9.578 kB / 1.175 GB, free: 10.27 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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) Reference file matches