Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0007971/0.0007971, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009229/0.0009229, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8643/0.8643, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.RealToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.274e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0013/0.001323, allocations: 0.6272 MB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000761/0.002084, allocations: 0.8393 MB / 0.9824 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.002115, allocations: 4 kB / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.002142, allocations: 0 / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.002204, allocations: 11.92 kB / 0.9824 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.002356, allocations: 19.86 kB / 0.9824 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.002424, allocations: 27.92 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.002522, allocations: 4 kB / 0.9824 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.002594, allocations: 11.98 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.002641, allocations: 15.97 kB / 0.9825 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.002663, allocations: 4 kB / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002671, allocations: 4 kB / 0.9825 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.002686, allocations: 0 / 0.9825 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.002707, allocations: 7.938 kB / 0.9825 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.134e-05/0.002798, allocations: 31.94 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.002802, allocations: 4 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.533e-06/0.002803, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.002808, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003463/0.003154, allocations: 262.3 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.003192, allocations: 8.031 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.976e-05/0.003222, allocations: 30.75 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.003243, allocations: 4.891 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.688e-05/0.00332, allocations: 117.7 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.003339, allocations: 384 / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.003346, allocations: 4.375 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003471, allocations: 54.23 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003478, allocations: 192 / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003486, allocations: 4.375 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.003491, allocations: 4.125 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.003582, allocations: 35.95 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.003879, allocations: 212.1 kB / 0.9832 GB, free: 180 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.003966, allocations: 42.5 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.004016, allocations: 28.89 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.00403, allocations: 0 / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.004053, allocations: 38.5 kB / 0.9833 GB, free: 48 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004054, allocations: 3.938 kB / 0.9833 GB, free: 44 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.004299, allocations: 85.58 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.004328, allocations: 51.41 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.004389, allocations: 110 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.004399, allocations: 25.7 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.004433, allocations: 84.09 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.004449, allocations: 0 / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.004475, allocations: 21.66 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.004549, allocations: 314.8 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.004596, allocations: 19.98 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.645e-05/0.004632, allocations: 11.98 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/0.004718, allocations: 52.88 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.004721, allocations: 0 / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.004835, allocations: 77.48 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.004849, allocations: 8 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004854, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.004864, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.004934, allocations: 7.984 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00494, allocations: 8.031 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.004964, allocations: 3.984 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.004969, allocations: 4 kB / 0.9842 GB, free: 15.11 MB / 0.948 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.694e-05/0.005026, allocations: 109.8 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.005039, allocations: 7.938 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.005056, allocations: 3.312 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.005058, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.005064, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.005066, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005171, allocations: 132.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.005174, allocations: 4.188 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.005206, allocations: 7.984 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.005209, allocations: 3.938 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.005217, allocations: 3.984 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005218, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005219, allocations: 4 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.005362, allocations: 163.5 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.005375, allocations: 15.91 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.005385, allocations: 7.938 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.005424, allocations: 4 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.005471, allocations: 7.984 kB / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.005474, allocations: 0 / 0.9846 GB, free: 14.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.0055, allocations: 79.28 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0055, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001429/0.005643, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004204/0.006064, allocations: 0.7045 MB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.006202, allocations: 43.95 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006203, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.006245, allocations: 15.98 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.00649, allocations: 15.92 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.006845, allocations: 130.6 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.006888, allocations: 59.34 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.006915, allocations: 7.938 kB / 0.9856 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.006956, allocations: 12.5 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.006957, allocations: 4 kB / 0.9857 GB, free: 13.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.02269, allocations: 2.122 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.91, allocations: 7.203 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable reaToInt.u in file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.u from file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! Error: Could not read variable reaToInt.y in file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv. Warning: Get data of variable reaToInt.y from file Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.010488847270608]