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.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.001758/0.001758, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002355/0.002355, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.00308/0.00308, allocations: 66.62 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3915, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002047/0.3935, allocations: 0.6502 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3947, allocations: 0.8553 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3947, allocations: 4 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3948, allocations: 7.922 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.3948, allocations: 3.938 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.395, allocations: 23.91 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.128e-05/0.3951, allocations: 43.97 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3952, allocations: 11.94 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.3952, allocations: 15.92 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.3953, allocations: 23.91 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3953, allocations: 4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.3954, allocations: 8 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.3954, allocations: 15.92 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3954, allocations: 15.92 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3955, allocations: 48.08 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3955, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3955, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3955, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 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.0005371/0.3961, allocations: 276 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3961, allocations: 12.03 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3962, allocations: 30.75 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.3962, allocations: 8.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3963, allocations: 110.5 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3963, allocations: 12.25 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3963, allocations: 4.375 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3966, allocations: 66.2 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3966, allocations: 3.938 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3966, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3966, allocations: 4 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3968, allocations: 47.95 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3972, allocations: 259.8 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.3974, allocations: 62.48 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3976, allocations: 32.91 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3976, allocations: 3.938 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.3976, allocations: 34.56 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3976, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004083/0.398, allocations: 113.6 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3981, allocations: 51.41 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3982, allocations: 105.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3982, allocations: 25.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3982, allocations: 88.14 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3983, allocations: 11.89 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3983, allocations: 17.72 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3985, allocations: 318.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3986, allocations: 23.97 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.3987, allocations: 27.97 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3989, allocations: 52.81 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3989, allocations: 4 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000249/0.3991, allocations: 81.83 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3992, allocations: 10.81 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3992, allocations: 0 / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3992, allocations: 8.031 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.3993, allocations: 15.98 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3993, allocations: 3.984 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.3994, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3994, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 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 9.779e-05/0.3995, allocations: 118.4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3995, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3996, allocations: 8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3996, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3996, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3996, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3998, allocations: 144.6 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3998, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.3999, allocations: 11.98 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.3999, allocations: 3.984 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3999, allocations: 4 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3999, allocations: 3.938 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3999, allocations: 0 / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.4002, allocations: 187.4 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.4002, allocations: 4 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4003, allocations: 4.25 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.4004, allocations: 7.984 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.4004, allocations: 15.98 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4004, allocations: 0 / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.4005, allocations: 83.22 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4005, allocations: 0 / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002273/0.4007, allocations: 12 kB / 1.368 GB, free: 9.609 MB / 1.061 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.000637/0.4013, allocations: 0.7201 MB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.4016, allocations: 51.95 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4016, allocations: 0 / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4017, allocations: 35.91 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.402, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4038, allocations: 1.309 MB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.4038, allocations: 71.3 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.4039, allocations: 4 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.4039, allocations: 19.42 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4039, allocations: 0 / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.434, allocations: 2.397 MB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 14.39 kB / 1.372 GB, free: 5.012 MB / 1.061 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable intToRea.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.04583441093564]