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.001296/0.001296, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001608/0.001608, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7951 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001997/0.001997, allocations: 66.56 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002641/0.3623, allocations: 0.6279 MB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3641, allocations: 0.8514 MB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.3641, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.3641, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.3642, allocations: 11.92 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3644, allocations: 8 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3645, allocations: 27.92 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3647, allocations: 7.984 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.3648, allocations: 11.92 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.3648, allocations: 11.98 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.3649, allocations: 4.047 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.3649, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3649, allocations: 8 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.3649, allocations: 7.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3651, allocations: 43.98 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3651, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3651, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3651, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 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.0006747/0.3657, allocations: 258.3 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3658, allocations: 12.03 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3658, allocations: 30.75 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.3659, allocations: 0.9375 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.366, allocations: 110.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.366, allocations: 8.297 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.366, allocations: 4.375 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3662, allocations: 54.23 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3663, allocations: 3.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3663, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3663, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3665, allocations: 39.89 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.3669, allocations: 216 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.367, allocations: 46.5 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.3671, allocations: 24.89 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3671, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3672, allocations: 34.56 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3672, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004136/0.3676, allocations: 85.58 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3676, allocations: 51.53 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3677, allocations: 105.8 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3678, allocations: 29.7 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3678, allocations: 84.14 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3678, allocations: 3.953 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.3679, allocations: 17.66 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.368, allocations: 318.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.3681, allocations: 15.98 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.3682, allocations: 15.98 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3684, allocations: 48.81 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3684, allocations: 3.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002132/0.3686, allocations: 65.66 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3686, allocations: 8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3686, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3686, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3687, allocations: 16.02 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3687, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.3688, allocations: 4.188 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3688, allocations: 7.984 kB / 1.329 GB, free: 14.05 MB / 1.029 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 0.0001336/0.3689, allocations: 110.3 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.369, allocations: 3.984 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.369, allocations: 11.31 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.369, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.369, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.369, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3692, allocations: 140.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3692, allocations: 3.938 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.3693, allocations: 11.98 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3693, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3693, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3693, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3693, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.3696, allocations: 167.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-06/0.3696, allocations: 4.031 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3696, allocations: 7.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.3697, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3697, allocations: 7.984 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3697, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.3698, allocations: 79.28 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3698, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002139/0.37, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 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.0005919/0.3706, allocations: 0.7084 MB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3708, allocations: 43.95 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3708, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.3709, allocations: 19.92 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3712, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.3718, allocations: 139.4 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.503e-05/0.3718, allocations: 59.36 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.3719, allocations: 3.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3719, allocations: 15.44 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3719, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.401, allocations: 2.017 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.52, allocations: 5.969 kB / 1.333 GB, free: 10.46 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.437729409022722]