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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007922/0.007922, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001937/0.001937, allocations: 194.9 kB / 16.67 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.643/2.643, allocations: 472.7 MB / 0.7453 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7077/0.709, allocations: 159.9 MB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001606/0.7106, allocations: 0.6584 MB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.7114, allocations: 0.8312 MB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.7115, allocations: 0 / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.7115, allocations: 3.938 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.7116, allocations: 11.94 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.7118, allocations: 27.89 kB / 1.227 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.7118, allocations: 39.92 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.712, allocations: 19.98 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.712, allocations: 19.92 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.7121, allocations: 23.91 kB / 1.227 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.7121, allocations: 7.938 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.7121, allocations: 7.938 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.7122, allocations: 11.98 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.7122, allocations: 19.92 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.7123, allocations: 47.8 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7123, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7123, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7123, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 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.0004621/0.7128, allocations: 359 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7128, allocations: 12.03 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.7129, allocations: 30.75 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.7129, allocations: 0.9375 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.713, allocations: 176.3 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.713, allocations: 8.375 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.7131, allocations: 4.375 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.7133, allocations: 66.22 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.7133, allocations: 3.938 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.7133, allocations: 0 / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7133, allocations: 0 / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.7135, allocations: 47.95 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.7139, allocations: 292.8 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.7141, allocations: 62.53 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.7142, allocations: 28.91 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.7142, allocations: 4 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.7143, allocations: 38.56 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7143, allocations: 0 / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004007/0.7147, allocations: 113.5 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.7147, allocations: 51.41 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.7148, allocations: 109.8 kB / 1.228 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.7148, allocations: 25.7 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.7148, allocations: 88.08 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.7149, allocations: 19.84 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.7149, allocations: 17.7 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.715, allocations: 318.8 kB / 1.229 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.7151, allocations: 23.97 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.7152, allocations: 23.97 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.7154, allocations: 52.83 kB / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7154, allocations: 0 / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002368/0.7157, allocations: 93.53 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7157, allocations: 4 kB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.7157, allocations: 0 / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7157, allocations: 0 / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.7158, allocations: 15.98 kB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7158, allocations: 3.938 kB / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.7159, allocations: 11.98 kB / 1.229 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.7159, allocations: 0 / 1.229 GB, free: 9.457 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 7.11e-05/0.716, allocations: 118.3 kB / 1.229 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.716, allocations: 3.984 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.7161, allocations: 7.906 kB / 1.229 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7161, allocations: 256 / 1.229 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7161, allocations: 4 kB / 1.229 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7161, allocations: 4 kB / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.7162, allocations: 173.6 kB / 1.229 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7163, allocations: 3.984 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.7164, allocations: 11.98 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.7164, allocations: 4 kB / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7164, allocations: 3.938 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7164, allocations: 0 / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7164, allocations: 0 / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.7167, allocations: 187.4 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.7167, allocations: 77.11 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.7167, allocations: 4 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.7168, allocations: 11.98 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.7169, allocations: 3.984 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.7169, allocations: 4 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.717, allocations: 83.28 kB / 1.23 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.717, allocations: 3.938 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002248/0.7172, allocations: 8 kB / 1.23 GB, free: 8.652 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.0005004/0.7177, allocations: 0.7283 MB / 1.23 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.7179, allocations: 55.98 kB / 1.23 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.718, allocations: 0 / 1.23 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.7181, allocations: 39.91 kB / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.7184, allocations: 0 / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.7197, allocations: 1.323 MB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.7199, allocations: 0.6846 MB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.72, allocations: 0 / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.72, allocations: 19.42 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.72, allocations: 0 / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.7355, allocations: 1.828 MB / 1.234 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/8.157, allocations: 12.94 kB / 1.234 GB, free: 3.977 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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