Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_9_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.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001289/0.001289, allocations: 193.5 kB / 16.14 MB, free: 6.734 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6347, allocations: 140.3 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001654/0.6363, allocations: 0.7228 MB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.637, allocations: 0.8284 MB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.637, allocations: 1.375 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.6371, allocations: 0 / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.6371, allocations: 3.938 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.6373, allocations: 25.47 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.6373, allocations: 48.34 kB / 0.9506 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.6374, allocations: 10.88 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.6375, allocations: 14.86 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.6375, allocations: 34.7 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.6376, allocations: 1.375 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.6376, allocations: 2.75 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.6376, allocations: 1.375 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.6376, allocations: 23.98 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.821e-05/0.6377, allocations: 48.09 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6377, allocations: 0 / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6377, allocations: 0 / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6377, allocations: 0 / 0.9508 GB, free: 7.73 MB / 0.7169 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.0003823/0.6381, allocations: 343.4 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6382, allocations: 9.062 kB / 0.9511 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.6382, allocations: 43.86 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.6382, allocations: 7.062 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.6383, allocations: 170.5 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.6383, allocations: 2.688 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.6383, allocations: 2.719 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.6385, allocations: 63.91 kB / 0.9514 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.6385, allocations: 3.938 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6385, allocations: 5.469 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.6386, allocations: 0 / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.6387, allocations: 51.69 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.6391, allocations: 296.2 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.6393, allocations: 56.36 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.6394, allocations: 35.41 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.6394, allocations: 5.188 kB / 0.9518 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.6394, allocations: 31.84 kB / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.6394, allocations: 3.984 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003654/0.6398, allocations: 109 kB / 0.952 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.6398, allocations: 51.41 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.6399, allocations: 109.9 kB / 0.9521 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.6399, allocations: 30.98 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.6399, allocations: 97.09 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.6399, allocations: 10.38 kB / 0.9522 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.64, allocations: 17.22 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.64, allocations: 324.4 kB / 0.9526 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.6401, allocations: 19.08 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-05/0.6402, allocations: 25.44 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.6404, allocations: 62.44 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6404, allocations: 0 / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002093/0.6406, allocations: 84.58 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6406, allocations: 6.469 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6406, allocations: 3.984 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.6406, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6408, allocations: 16.39 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.6408, allocations: 1.312 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.6408, allocations: 7.594 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.6409, allocations: 5.266 kB / 0.9528 GB, free: 5.73 MB / 0.7169 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 4.978e-05/0.6409, allocations: 112 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.6409, allocations: 1.562 kB / 0.9529 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.641, allocations: 9.375 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.641, allocations: 5.375 kB / 0.9529 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.641, allocations: 4 kB / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.641, allocations: 0 / 0.9529 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.6411, allocations: 179.6 kB / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6411, allocations: 0 / 0.9531 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.6412, allocations: 13.11 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.6412, allocations: 0 / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6412, allocations: 1.5 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6412, allocations: 0 / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6412, allocations: 0 / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.6415, allocations: 188.2 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.6415, allocations: 78.61 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.6415, allocations: 5.391 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.6416, allocations: 3 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.6417, allocations: 12.14 kB / 0.9534 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6417, allocations: 1.75 kB / 0.9534 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.6417, allocations: 91.98 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6417, allocations: 4 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000212/0.6419, allocations: 11.09 kB / 0.9535 GB, free: 5.008 MB / 0.7169 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.0003772/0.6423, allocations: 0.7151 MB / 0.9542 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.6425, allocations: 70.19 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6426, allocations: 4.906 kB / 0.9543 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6427, allocations: 34.22 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.6429, allocations: 3.031 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.644, allocations: 1.312 MB / 0.9556 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.772e-05/0.6441, allocations: 0.6845 MB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.6442, allocations: 3.844 kB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.6442, allocations: 17.88 kB / 0.9563 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6442, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/2.079, allocations: 1.565 MB / 0.9578 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/2.079, allocations: 220.3 kB / 0.958 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/3.884, allocations: 0 / 0.958 GB, free: 1.234 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches