Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.8 MB / 0.7707 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 65.81 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3232, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00187/0.3251, allocations: 0.664 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3261, allocations: 0.8627 MB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.3262, allocations: 3.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3262, allocations: 3.984 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.3263, allocations: 11.94 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.3264, allocations: 23.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.3265, allocations: 43.89 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3266, allocations: 8 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.3267, allocations: 27.92 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.3268, allocations: 27.89 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3268, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.3268, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.3268, allocations: 8 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3269, allocations: 19.86 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.327, allocations: 47.38 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.327, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.327, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.327, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 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.000486/0.3275, allocations: 274.3 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3275, allocations: 8.031 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3275, allocations: 42.69 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.3276, allocations: 4.891 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3277, allocations: 110.5 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3277, allocations: 4.359 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.3277, allocations: 8.375 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3279, allocations: 66.22 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3279, allocations: 7.938 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3279, allocations: 3.938 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.328, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.3282, allocations: 47.95 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.3286, allocations: 259.8 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3288, allocations: 66.53 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3289, allocations: 24.92 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.3289, allocations: 4.062 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3289, allocations: 34.56 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3289, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004058/0.3294, allocations: 117.5 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3294, allocations: 51.41 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.3295, allocations: 101.9 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3295, allocations: 33.69 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.3296, allocations: 88.09 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3296, allocations: 3.953 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.3296, allocations: 21.7 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3298, allocations: 318.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.3299, allocations: 31.91 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.3299, allocations: 23.98 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3301, allocations: 52.75 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3301, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002423/0.3304, allocations: 89.59 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3304, allocations: 12 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3304, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3304, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3306, allocations: 11.98 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3306, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.087e-05/0.3306, allocations: 12.25 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3306, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 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 8.661e-05/0.3307, allocations: 117.8 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3307, allocations: 11.95 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.3308, allocations: 7.984 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3308, allocations: 3.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3308, allocations: 3.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3308, allocations: 3.984 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.331, allocations: 144.7 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.331, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.53e-05/0.3311, allocations: 15.98 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3311, allocations: 4 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3311, allocations: 7.984 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3314, allocations: 175.5 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.3314, allocations: 7.938 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3314, allocations: 256 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3315, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3316, allocations: 23.97 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.3316, allocations: 91.22 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3316, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000226/0.3318, allocations: 4 kB / 1.288 GB, free: 7.234 MB / 0.9825 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.0005869/0.3324, allocations: 0.7202 MB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3327, allocations: 51.89 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3327, allocations: 0 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3328, allocations: 31.97 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3331, allocations: 7.938 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.3348, allocations: 1.316 MB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3351, allocations: 0.6845 MB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.3352, allocations: 8 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.3352, allocations: 15.42 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.3352, allocations: 0 / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3624, allocations: 1.933 MB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.26, allocations: 7.828 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intToRea.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.1487673419997]