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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008657/0.0008657, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005089/0.005089, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 12 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4985, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0006791/0.4993, allocations: 408.9 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.5, allocations: 0.8195 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.5001, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.5001, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.5002, allocations: 3.938 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.5003, allocations: 23.97 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.5004, allocations: 47.84 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.5004, allocations: 12 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.5005, allocations: 15.98 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.713e-05/0.5006, allocations: 23.84 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.5006, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.5006, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.5006, allocations: 7.984 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.5007, allocations: 37.62 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.673e-05/0.5007, allocations: 47.78 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5007, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5007, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5008, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 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.0003912/0.5012, allocations: 349.8 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5012, allocations: 12.03 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.5012, allocations: 34.75 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.5013, allocations: 8.781 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5014, allocations: 172.3 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.5014, allocations: 384 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.5014, allocations: 16.38 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.5016, allocations: 70.22 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.5016, allocations: 7.875 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.5016, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.5016, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.5018, allocations: 59.95 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.5022, allocations: 292.7 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.5024, allocations: 74.53 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.5025, allocations: 36.91 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5025, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5025, allocations: 30.56 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.5025, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.5029, allocations: 125.6 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.503, allocations: 55.41 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.503, allocations: 109.8 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.5031, allocations: 25.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.5031, allocations: 88.05 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.5031, allocations: 11.84 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.5032, allocations: 17.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.5032, allocations: 314.8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.5033, allocations: 31.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.5034, allocations: 27.98 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.5036, allocations: 72.97 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.5036, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002215/0.5039, allocations: 101.5 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5039, allocations: 8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5039, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.5039, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.504, allocations: 19.98 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.504, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.5041, allocations: 11.98 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.5041, allocations: 4 kB / 1.027 GB, free: 12.07 MB / 0.7794 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 6.279e-05/0.5042, allocations: 110.3 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.5042, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.5042, allocations: 7.906 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5042, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5043, allocations: 7.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5043, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.5044, allocations: 173.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5044, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.5045, allocations: 15.98 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5045, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5045, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5045, allocations: 3.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5045, allocations: 3.938 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.5048, allocations: 203.3 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.5048, allocations: 77.11 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.5049, allocations: 256 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.505, allocations: 19.98 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.505, allocations: 11.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.505, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.5051, allocations: 83.22 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5051, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001951/0.5053, allocations: 12 kB / 1.027 GB, free: 11.25 MB / 0.7794 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.0004781/0.5058, allocations: 0.7279 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.506, allocations: 63.95 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.506, allocations: 3.938 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.5061, allocations: 39.97 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5064, allocations: 7.938 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.5077, allocations: 1.346 MB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.5079, allocations: 0.6809 MB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.5079, allocations: 7.984 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.508, allocations: 15.44 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.508, allocations: 0 / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/0.6787, allocations: 1.505 MB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.6789, allocations: 225 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.259, allocations: 4 kB / 1.032 GB, free: 6.609 MB / 0.7794 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) Reference file matches