Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_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.006229/0.00623, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001689/0.001689, allocations: 193.6 kB / 16.67 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 1.399/1.399, 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 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6615, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001766/0.6633, allocations: 0.6584 MB / 1.221 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.6643, allocations: 0.8351 MB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.6643, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.6643, allocations: 4 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.6644, allocations: 7.938 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.6646, allocations: 27.84 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.6646, allocations: 43.86 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.6647, allocations: 23.97 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.6648, allocations: 11.98 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.6649, allocations: 23.92 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.6649, allocations: 8 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.6649, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.665, allocations: 15.92 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.665, allocations: 19.91 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.6651, allocations: 47.8 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6651, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6651, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6651, allocations: 0 / 1.222 GB, free: 296 kB / 0.9356 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.0005164/0.6656, allocations: 355 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6657, allocations: 12.03 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.6657, allocations: 38.75 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.6658, allocations: 0.9375 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6659, allocations: 176.3 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6659, allocations: 384 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.6659, allocations: 8.375 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.6661, allocations: 66.2 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6662, allocations: 7.938 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6662, allocations: 0 / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6662, allocations: 4 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.6664, allocations: 47.95 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.6668, allocations: 284.8 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.667, allocations: 62.53 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.6672, allocations: 32.91 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.6672, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.6672, allocations: 34.56 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.6672, allocations: 0 / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004241/0.6676, allocations: 113.5 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6677, allocations: 55.41 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.6678, allocations: 105.8 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.6678, allocations: 25.7 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.6679, allocations: 84.14 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.6679, allocations: 15.84 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.6679, allocations: 25.64 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6681, allocations: 318.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.6682, allocations: 23.97 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.841e-05/0.6683, allocations: 27.97 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.6685, allocations: 52.77 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6685, allocations: 3.938 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002581/0.6688, allocations: 89.88 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6688, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6688, allocations: 256 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6688, allocations: 4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.669, allocations: 16.03 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.669, allocations: 4 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.6691, allocations: 11.97 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.6691, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 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.238e-05/0.6692, allocations: 113.8 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.6692, allocations: 7.984 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.6692, allocations: 7.906 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6692, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6692, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6693, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.6694, allocations: 181.6 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6695, allocations: 3.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.6696, allocations: 11.98 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6696, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.6696, allocations: 4 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6696, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6696, allocations: 0 / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.6699, allocations: 187.4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.67, allocations: 77.11 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.67, allocations: 4 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.6701, allocations: 3.984 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.6701, allocations: 11.98 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.6702, allocations: 4 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.6702, allocations: 87.28 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.327e-06/0.6702, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002271/0.6705, allocations: 11.94 kB / 1.225 GB, free: 13.18 MB / 0.9512 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.0006182/0.6711, allocations: 0.7284 MB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.6713, allocations: 47.95 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6714, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6715, allocations: 35.91 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6718, allocations: 6.031 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.6733, allocations: 1.316 MB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.6736, allocations: 0.6807 MB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.6737, allocations: 3.906 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.6738, allocations: 23.42 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.6738, allocations: 4 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.695, allocations: 1.819 MB / 1.229 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.33, allocations: 18.33 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches