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.001272/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001233/0.001233, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.343/2.343, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 65.16 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2107, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001548/0.2123, allocations: 0.7169 MB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006961/0.213, allocations: 0.843 MB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.213, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.2131, allocations: 3.938 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.2131, allocations: 3.984 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.2132, allocations: 15.98 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.2133, allocations: 43.86 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.2134, allocations: 15.98 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2135, allocations: 27.91 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.2135, allocations: 19.92 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2135, allocations: 4 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2135, allocations: 4 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2136, allocations: 7.984 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.2136, allocations: 23.86 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.938e-05/0.2137, allocations: 51.73 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2137, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2137, allocations: 0 / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2137, allocations: 4 kB / 1.054 GB, free: 6.852 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.0003941/0.2141, allocations: 351.7 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2141, allocations: 12.62 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.2142, allocations: 30.75 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.2142, allocations: 4.938 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.2143, allocations: 172.3 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2143, allocations: 4.375 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2143, allocations: 384 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2145, allocations: 74.22 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2145, allocations: 3.938 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2145, allocations: 0 / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2145, allocations: 3.984 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.2147, allocations: 55.89 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.2151, allocations: 288.8 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2152, allocations: 62.53 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.482e-05/0.2153, allocations: 36.86 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.2154, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2154, allocations: 34.55 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2154, allocations: 4 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003435/0.2157, allocations: 105.5 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.2158, allocations: 51.41 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.2158, allocations: 109.8 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2158, allocations: 25.7 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.2159, allocations: 88.08 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2159, allocations: 11.81 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.2159, allocations: 21.7 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.216, allocations: 318.8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.2161, allocations: 31.91 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.2162, allocations: 19.98 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.2164, allocations: 52.81 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2164, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002061/0.2166, allocations: 81.64 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2166, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2166, allocations: 4 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.2166, allocations: 0 / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2167, allocations: 11.98 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2168, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.2168, allocations: 11.92 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2168, allocations: 4 kB / 1.056 GB, free: 4.562 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 5.992e-05/0.2169, allocations: 121.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2169, allocations: 3.906 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.217, allocations: 15.89 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.217, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.217, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.217, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2171, allocations: 173.5 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2171, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.2172, allocations: 19.98 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2172, allocations: 3.984 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2172, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2172, allocations: 256 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2173, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2175, allocations: 187.7 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2175, allocations: 89.02 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2176, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.2177, allocations: 11.98 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2177, allocations: 11.98 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2177, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.2177, allocations: 79.28 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2177, allocations: 3.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002034/0.218, allocations: 12 kB / 1.057 GB, free: 3.742 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.0004385/0.2184, allocations: 0.7163 MB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.2186, allocations: 55.89 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2186, allocations: 4 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.2187, allocations: 31.97 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.219, allocations: 6.25 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2202, allocations: 1.331 MB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2204, allocations: 0.6846 MB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2204, allocations: 0 / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2205, allocations: 23.42 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2205, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.493/2.714, allocations: 1.642 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/2.714, allocations: 219.2 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/5.665, allocations: 3 kB / 1.061 GB, free: 15.03 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