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.00123/0.00123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001247/0.001247, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.264/2.264, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4801, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001662/0.4818, allocations: 0.7343 MB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.4826, allocations: 0.8273 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.4826, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.4827, allocations: 3.938 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.4828, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.4829, allocations: 23.98 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.483, allocations: 51.83 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.483, allocations: 8 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.4831, allocations: 19.92 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.4832, allocations: 23.91 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.4832, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.4832, allocations: 4 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.4832, allocations: 7.984 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.4833, allocations: 23.86 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.996e-05/0.4833, allocations: 39.86 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4834, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4834, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4834, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 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.0004189/0.4838, allocations: 363.5 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4838, allocations: 8.031 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.4839, allocations: 34.75 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.4839, allocations: 4.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.484, allocations: 180.2 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.484, allocations: 384 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.484, allocations: 8.375 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4842, allocations: 62.22 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.4842, allocations: 3.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4842, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4843, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.4845, allocations: 51.89 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4848, allocations: 284.8 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.485, allocations: 62.58 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4851, allocations: 36.86 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4851, allocations: 0 / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4852, allocations: 38.44 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4852, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003734/0.4856, allocations: 109.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.4856, allocations: 51.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.4857, allocations: 109.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4857, allocations: 29.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.4857, allocations: 88.16 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4858, allocations: 19.72 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.4858, allocations: 17.72 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.4859, allocations: 322.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.486, allocations: 23.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.4861, allocations: 31.91 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.4863, allocations: 48.81 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4863, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002164/0.4865, allocations: 77.66 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4865, allocations: 8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4865, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.4865, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4867, allocations: 19.97 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4867, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.4867, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.4868, allocations: 4 kB / 1.02 GB, free: 14.69 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.858e-05/0.4868, allocations: 122.2 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.4869, allocations: 7.906 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.4869, allocations: 3.906 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4869, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4869, allocations: 4.25 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.4869, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.4871, allocations: 185.6 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4871, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.4872, allocations: 11.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4872, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4872, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4872, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4872, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.4875, allocations: 183.4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.4875, allocations: 81.02 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4875, allocations: 3.938 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.4876, allocations: 7.984 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.4877, allocations: 16.3 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4877, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.4877, allocations: 95.27 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4877, allocations: 3.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002082/0.488, allocations: 4 kB / 1.021 GB, free: 13.87 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.0004717/0.4884, allocations: 0.7163 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4887, allocations: 67.88 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4887, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.4888, allocations: 23.98 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.489, allocations: 11.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4903, allocations: 1.317 MB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.4905, allocations: 0.6848 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.4906, allocations: 7.984 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.4906, allocations: 15.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4906, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/0.9131, allocations: 1.569 MB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.9134, allocations: 217.6 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.724, allocations: 0 / 1.026 GB, free: 9.184 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