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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.362/2.362, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 63 kB / 0.8992 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2154, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001618/0.2171, allocations: 0.6692 MB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.2178, allocations: 0.8312 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.2179, allocations: 4 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2179, allocations: 3.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.218, allocations: 3.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.2181, allocations: 19.97 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.2182, allocations: 43.86 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.2183, allocations: 23.97 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.2183, allocations: 15.94 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.2184, allocations: 23.91 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2184, allocations: 4 kB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.2184, allocations: 4 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2184, allocations: 15.97 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.2185, allocations: 23.81 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.723e-05/0.2186, allocations: 47.8 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2186, allocations: 4 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2186, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.716e-06/0.2186, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 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.0004008/0.219, allocations: 348.5 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.219, allocations: 12.62 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.2191, allocations: 34.75 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.2191, allocations: 0.9375 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2192, allocations: 172.3 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2192, allocations: 4.375 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2192, allocations: 8.375 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.2194, allocations: 66.22 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2194, allocations: 3.938 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2194, allocations: 3.984 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2194, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2196, allocations: 55.89 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.22, allocations: 288.8 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2201, allocations: 62.58 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.2202, allocations: 32.81 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2203, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.2203, allocations: 34.56 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2203, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.2206, allocations: 113.5 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2207, allocations: 51.41 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.2207, allocations: 101.9 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2208, allocations: 25.7 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.2208, allocations: 96.12 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.2208, allocations: 7.812 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.2209, allocations: 25.64 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.2209, allocations: 314.8 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.221, allocations: 27.92 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.2211, allocations: 27.97 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2213, allocations: 52.81 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2213, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002194/0.2215, allocations: 89.95 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2216, allocations: 4 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2216, allocations: 0 / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2216, allocations: 0 / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2217, allocations: 15.98 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2217, allocations: 3.938 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.2218, allocations: 11.98 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2218, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 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.741e-05/0.2219, allocations: 121.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2219, allocations: 3.906 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.2219, allocations: 3.906 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2219, allocations: 4 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2219, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2219, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2221, allocations: 189.6 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2221, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.2222, allocations: 15.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2222, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2222, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2222, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2222, allocations: 4.234 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.2224, allocations: 183.4 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2225, allocations: 89 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2225, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.2226, allocations: 4 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.2226, allocations: 11.98 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.2227, allocations: 3.984 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.2227, allocations: 83.28 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2227, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002031/0.2229, allocations: 8 kB / 1.057 GB, free: 3.355 MB / 0.8106 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.000448/0.2234, allocations: 0.7202 MB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.2236, allocations: 59.88 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2236, allocations: 0 / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.2237, allocations: 31.97 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2239, allocations: 8 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2252, allocations: 1.315 MB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2254, allocations: 0.6846 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.2254, allocations: 4 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.2255, allocations: 15.44 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2255, allocations: 0 / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.777/2.002, allocations: 1.798 MB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.84, allocations: 6.594 kB / 1.062 GB, free: 14.7 MB / 0.8262 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) Reference file matches